Improve readability of check testcase data and add order by

parent 6c266a9d
...@@ -23,10 +23,18 @@ BEGIN ...@@ -23,10 +23,18 @@ BEGIN
WHERE table_schema='test'; WHERE table_schema='test';
-- Show "mysql" database, tables and columns -- Show "mysql" database, tables and columns
SELECT table_name, table_type, engine FROM INFORMATION_SCHEMA.TABLES SELECT CONCAT(table_schema, '.', table_name) AS tables_in_mysql
WHERE table_schema='mysql'; FROM INFORMATION_SCHEMA.TABLES
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE table_schema='mysql' AND table_name != 'ndb_apply_status'
WHERE table_schema='mysql'; ORDER BY tables_in_mysql;
SELECT CONCAT(table_schema, '.', table_name) AS columns_in_mysql,
column_name, ordinal_position, column_default, is_nullable,
data_type, character_maximum_length, character_octet_length,
numeric_precision, numeric_scale, character_set_name,
collation_name, column_type, column_key, extra, column_comment
FROM INFORMATION_SCHEMA.COLUMNS
WHERE table_schema='mysql' AND table_name != 'ndb_apply_status'
ORDER BY columns_in_mysql;
-- Checksum system tables to make sure they have been properly -- Checksum system tables to make sure they have been properly
-- restored after test -- restored after test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment