1
by brian
clean slate |
1 |
#
|
2 |
# This test must examine integrity of system database "mysql" |
|
3 |
#
|
|
4 |
||
5 |
# check that CSV engine was compiled in, as the result of the test |
|
6 |
# depends on the presence of the log tables (which are CSV-based). |
|
7 |
--source include/have_csv.inc
|
|
8 |
||
9 |
# First delete some tables maybe left over from previous tests |
|
10 |
--disable_warnings
|
|
11 |
drop table if exists t1,t1aa,t2aa; |
|
12 |
--enable_warnings
|
|
13 |
||
14 |
-- disable_query_log
|
|
15 |
use mysql; |
|
16 |
-- enable_query_log
|
|
17 |
-- source include/system_db_struct.inc
|
|
18 |
-- disable_query_log
|
|
19 |
use test; |
|
20 |
-- enable_query_log
|
|
21 |
# keep results same with system_mysql_db_fix |
|
22 |
show tables; |
|
23 |
||
24 |
# End of 4.1 tests |