mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +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:
@@ -93,7 +93,7 @@ Tables_in_test Table_type
|
||||
s1 SEQUENCE
|
||||
t1 BASE TABLE
|
||||
v1 VIEW
|
||||
SELECT TABLE_TYPE,ENGINE FROM INFORMATION_SCHEMA.TABLES where table_schema="test";
|
||||
SELECT TABLE_TYPE,ENGINE FROM INFORMATION_SCHEMA.TABLES where table_schema="test" ORDER BY TABLE_NAME;
|
||||
TABLE_TYPE ENGINE
|
||||
SEQUENCE MyISAM
|
||||
BASE TABLE MyISAM
|
||||
|
@@ -74,7 +74,7 @@ create sequence s1;
|
||||
create table t1 (a int);
|
||||
create view v1 as select * from s1;
|
||||
show full tables;
|
||||
SELECT TABLE_TYPE,ENGINE FROM INFORMATION_SCHEMA.TABLES where table_schema="test";
|
||||
SELECT TABLE_TYPE,ENGINE FROM INFORMATION_SCHEMA.TABLES where table_schema="test" ORDER BY TABLE_NAME;
|
||||
drop table t1,s1;
|
||||
drop view v1;
|
||||
|
||||
|
Reference in New Issue
Block a user