mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
(Part#2) MDEV-13049 Querying INFORMATION_SCHEMA becomes slow in MariaDB 10.1
This is a 10.3 specific part of MDEV-13049. It disables automatic sorting for "SELECT .. FROM INFORMATION_SCHEMA.{SCHEMATA|TABLES}" and adjusts the affected tests accordingly.
This commit is contained in:
@ -21,7 +21,8 @@ declare debug integer default 0;
|
||||
declare pfs_cursor CURSOR FOR
|
||||
select table_name from information_schema.tables
|
||||
where table_schema= 'performance_schema'
|
||||
and table_name like "events_%_by_event_name%";
|
||||
and table_name like "events_%_by_event_name%"
|
||||
order by table_name;
|
||||
declare continue handler for sqlstate '02000'
|
||||
set done = 1;
|
||||
select (instr_name like "wait/%") or (instr_name like "idle/%") into is_wait;
|
||||
|
Reference in New Issue
Block a user