~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/include/check-testcase.test

  • Committer: Jay Pipes
  • Date: 2008-07-17 17:54:00 UTC
  • mto: This revision was merged to the branch mainline in revision 182.
  • Revision ID: jay@mysql.com-20080717175400-xm2aazihjra8mdzq
Removal of DBUG from libdrizzle/ - Round 2

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
 
#
24
 
--exec $DRIZZLE_DUMP --skip-comments --skip-lock-tables test
25
 
 
26
 
#
27
 
# Dump the "mysql" database and it's tables
28
 
# Select data separately to add "order by"
29
 
#
30
 
--exec $DRIZZLE_DUMP --skip-comments --skip-lock-tables --no-data mysql
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