1
by brian
clean slate |
1 |
#
|
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.
|
|
9 |
#
|
|
10 |
||
11 |
#
|
|
12 |
# Dump all global variables
|
|
13 |
#
|
|
14 |
show global variables; |
|
15 |
||
16 |
#
|
|
17 |
# Dump all databases
|
|
18 |
#
|
|
19 |
show databases; |
|
20 |
||
21 |
#
|
|
22 |
# Dump the "test" database, all it's tables and their data
|
|
23 |
#
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
24 |
--exec $DRIZZLE_DUMP --skip-comments --skip-lock-tables test |
1
by brian
clean slate |
25 |
|
26 |
#
|
|
27 |
# Dump the "mysql" database and it's tables
|
|
28 |
# Select data separately to add "order by"
|
|
29 |
#
|
|
319.1.1
by Grant Limberg
renamed all instances of MYSQL_ to DRIZZLE_ |
30 |
--exec $DRIZZLE_DUMP --skip-comments --skip-lock-tables --no-data mysql |
1
by brian
clean slate |
31 |
use mysql; |
32 |
select * from columns_priv; |
|
33 |
select * from db order by host, db, user; |
|
34 |
select * from func; |
|
35 |
select * from help_category; |
|
36 |
select * from help_keyword; |
|
37 |
select * from help_relation; |
|
38 |
select * from help_relation; |
|
39 |
select * from host; |
|
40 |
select * from proc; |
|
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; |
|
48 |
select * from user; |
|
49 |
||
50 |
||
51 |