Commit 25786093 authored by Patrick Crews's avatar Patrick Crews

Bug#40866: mysql-test-run's check of tests provides false failures due to timestamp

Altering how MTR checks global variable status to exclude timestamp
Changed SQL statements to update style.
parent c9be1c9f
...@@ -11,12 +11,12 @@ ...@@ -11,12 +11,12 @@
# #
# Dump all global variables # Dump all global variables
# #
show global variables; SHOW GLOBAL VARIABLES WHERE variable_name != 'timestamp';
# #
# Dump all databases # Dump all databases
# #
show databases; SHOW DATABASES;
# #
# Dump the "test" database, all it's tables and their data # Dump the "test" database, all it's tables and their data
...@@ -29,23 +29,23 @@ show databases; ...@@ -29,23 +29,23 @@ show databases;
# #
--exec $MYSQL_DUMP --skip-comments --no-data mysql --exec $MYSQL_DUMP --skip-comments --no-data mysql
use mysql; use mysql;
select * from columns_priv; SELECT * FROM columns_priv;
select * from db order by host, db, user; SELECT * FROM db ORDER BY host, db, user;
select * from func; SELECT * FROM func;
select * from help_category; SELECT * FROM help_category;
select * from help_keyword; SELECT * FROM help_keyword;
select * from help_relation; SELECT * FROM help_relation;
select * from help_relation; SELECT * FROM help_relation;
select * from host; SELECT * FROM host;
select * from proc; SELECT * FROM proc;
select * from procs_priv; SELECT * FROM procs_priv;
select * from tables_priv; SELECT * FROM tables_priv;
select * from time_zone; SELECT * FROM time_zone;
select * from time_zone_leap_second; SELECT * FROM time_zone_leap_second;
select * from time_zone_name; SELECT * FROM time_zone_name;
select * from time_zone_transition; SELECT * FROM time_zone_transition;
select * from time_zone_transition_type; SELECT * FROM time_zone_transition_type;
select * from user; SELECT * FROM user;
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