mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
717fa1902f
Including adding test in 5.5 requiring --big-test flag from mysql-test-run.pl and also disabled tests that fails. mysql-test/collections/default.weekly: Added all tests requiring --big-test in alphabetical order mysql-test/r/information_schema-big.result: Updated result mysql-test/r/variables-big.result: updated results mysql-test/t/disabled.def: Added tests that fails (has not been run regularly since they need --big-test)
97 lines
2.7 KiB
Text
97 lines
2.7 KiB
Text
DROP TABLE IF EXISTS t0,t1,t2,t3,t4,t5;
|
|
DROP VIEW IF EXISTS v1;
|
|
#
|
|
# Bug#18925: subqueries with MIN/MAX functions on INFORMARTION_SCHEMA
|
|
#
|
|
SELECT t.table_name, c1.column_name
|
|
FROM information_schema.tables t
|
|
INNER JOIN
|
|
information_schema.columns c1
|
|
ON t.table_schema = c1.table_schema AND
|
|
t.table_name = c1.table_name
|
|
WHERE t.table_schema = 'information_schema' AND
|
|
c1.ordinal_position =
|
|
( SELECT COALESCE(MIN(c2.ordinal_position),1)
|
|
FROM information_schema.columns c2
|
|
WHERE c2.table_schema = t.table_schema AND
|
|
c2.table_name = t.table_name AND
|
|
c2.column_name LIKE '%SCHEMA%'
|
|
)
|
|
AND t.table_name NOT LIKE 'innodb%';
|
|
table_name column_name
|
|
CHARACTER_SETS CHARACTER_SET_NAME
|
|
COLLATIONS COLLATION_NAME
|
|
COLLATION_CHARACTER_SET_APPLICABILITY COLLATION_NAME
|
|
COLUMNS TABLE_SCHEMA
|
|
COLUMN_PRIVILEGES TABLE_SCHEMA
|
|
ENGINES ENGINE
|
|
EVENTS EVENT_SCHEMA
|
|
FILES TABLE_SCHEMA
|
|
GLOBAL_STATUS VARIABLE_NAME
|
|
GLOBAL_VARIABLES VARIABLE_NAME
|
|
KEY_COLUMN_USAGE CONSTRAINT_SCHEMA
|
|
PARAMETERS SPECIFIC_SCHEMA
|
|
PARTITIONS TABLE_SCHEMA
|
|
PLUGINS PLUGIN_NAME
|
|
PROCESSLIST ID
|
|
PROFILING QUERY_ID
|
|
REFERENTIAL_CONSTRAINTS CONSTRAINT_SCHEMA
|
|
ROUTINES ROUTINE_SCHEMA
|
|
SCHEMATA SCHEMA_NAME
|
|
SCHEMA_PRIVILEGES TABLE_SCHEMA
|
|
SESSION_STATUS VARIABLE_NAME
|
|
SESSION_VARIABLES VARIABLE_NAME
|
|
STATISTICS TABLE_SCHEMA
|
|
TABLES TABLE_SCHEMA
|
|
TABLESPACES TABLESPACE_NAME
|
|
TABLE_CONSTRAINTS CONSTRAINT_SCHEMA
|
|
TABLE_PRIVILEGES TABLE_SCHEMA
|
|
TRIGGERS TRIGGER_SCHEMA
|
|
USER_PRIVILEGES GRANTEE
|
|
VIEWS TABLE_SCHEMA
|
|
SELECT t.table_name, c1.column_name
|
|
FROM information_schema.tables t
|
|
INNER JOIN
|
|
information_schema.columns c1
|
|
ON t.table_schema = c1.table_schema AND
|
|
t.table_name = c1.table_name
|
|
WHERE t.table_schema = 'information_schema' AND
|
|
c1.ordinal_position =
|
|
( SELECT COALESCE(MIN(c2.ordinal_position),1)
|
|
FROM information_schema.columns c2
|
|
WHERE c2.table_schema = 'information_schema' AND
|
|
c2.table_name = t.table_name AND
|
|
c2.column_name LIKE '%SCHEMA%'
|
|
)
|
|
AND t.table_name NOT LIKE 'innodb%';
|
|
table_name column_name
|
|
CHARACTER_SETS CHARACTER_SET_NAME
|
|
COLLATIONS COLLATION_NAME
|
|
COLLATION_CHARACTER_SET_APPLICABILITY COLLATION_NAME
|
|
COLUMNS TABLE_SCHEMA
|
|
COLUMN_PRIVILEGES TABLE_SCHEMA
|
|
ENGINES ENGINE
|
|
EVENTS EVENT_SCHEMA
|
|
FILES TABLE_SCHEMA
|
|
GLOBAL_STATUS VARIABLE_NAME
|
|
GLOBAL_VARIABLES VARIABLE_NAME
|
|
KEY_COLUMN_USAGE CONSTRAINT_SCHEMA
|
|
PARAMETERS SPECIFIC_SCHEMA
|
|
PARTITIONS TABLE_SCHEMA
|
|
PLUGINS PLUGIN_NAME
|
|
PROCESSLIST ID
|
|
PROFILING QUERY_ID
|
|
REFERENTIAL_CONSTRAINTS CONSTRAINT_SCHEMA
|
|
ROUTINES ROUTINE_SCHEMA
|
|
SCHEMATA SCHEMA_NAME
|
|
SCHEMA_PRIVILEGES TABLE_SCHEMA
|
|
SESSION_STATUS VARIABLE_NAME
|
|
SESSION_VARIABLES VARIABLE_NAME
|
|
STATISTICS TABLE_SCHEMA
|
|
TABLES TABLE_SCHEMA
|
|
TABLESPACES TABLESPACE_NAME
|
|
TABLE_CONSTRAINTS CONSTRAINT_SCHEMA
|
|
TABLE_PRIVILEGES TABLE_SCHEMA
|
|
TRIGGERS TRIGGER_SCHEMA
|
|
USER_PRIVILEGES GRANTEE
|
|
VIEWS TABLE_SCHEMA
|