2
# This test is executed twice for each test case if mysql-test-run is passed
3
# the flag --check-testcase.
4
# Before every testcase it's run with mysqltest in record mode and will
5
# thus produce an output file
6
# that can be compared to output from after the tescase.
7
# In that way it's possible to check that a testcase does not have
8
# any unwanted side affects.
12
# Dump all global variables
14
show global variables;
22
# Dump the "test" database, all it's tables and their data
24
--exec $MYSQL_DUMP --skip-comments --skip-lock-tables test
27
# Dump the "mysql" database and it's tables
28
# Select data separately to add "order by"
30
--exec $MYSQL_DUMP --skip-comments --skip-lock-tables --no-data mysql
32
select * from columns_priv;
33
select * from db order by host, db, user;
35
select * from help_category;
36
select * from help_keyword;
37
select * from help_relation;
38
select * from help_relation;
41
select * from procs_priv;
42
select * from tables_priv;
43
select * from time_zone;
44
select * from time_zone_leap_second;
45
select * from time_zone_name;
46
select * from time_zone_transition;
47
select * from time_zone_transition_type;