mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +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:
@ -4356,6 +4356,13 @@ public:
|
||||
|
||||
void sort();
|
||||
void remove_duplicates(); // assumes that the list is sorted
|
||||
#ifndef DBUG_OFF
|
||||
/*
|
||||
Used to find unstable mtr tests querying
|
||||
INFORMATION_SCHEMA.TABLES without ORDER BY.
|
||||
*/
|
||||
void sort_desc();
|
||||
#endif
|
||||
};
|
||||
|
||||
int ha_discover_table(THD *thd, TABLE_SHARE *share);
|
||||
|
Reference in New Issue
Block a user