~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/drizzlecheck.test

  • Committer: Brian Aker
  • Date: 2009-07-12 00:49:18 UTC
  • mfrom: (1063.9.51 brian-tmp-fix)
  • Revision ID: brian@gaz-20090712004918-chprmyj387ex6l8a
Merge Stewart

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# check that CSV engine was compiled in, as the result of the test
2
 
# depends on the presence of the log tables (which are CSV-based).
3
 
--source include/have_csv.inc
4
 
 
5
 
#
6
 
# Clean up after previous tests
7
 
#
8
 
 
9
 
--disable_warnings
10
 
DROP TABLE IF EXISTS t1, `t``1`, `t 1`;
11
 
drop database if exists client_test_db;
12
 
--enable_warnings
13
 
 
14
 
#
15
 
# Bug #13783  mysqlcheck tries to optimize and analyze information_schema
16
 
#
17
 
--replace_result 'Table is already up to date' OK
18
 
--exec $DRIZZLE_CHECK --all-databases --analyze --optimize
19
 
--replace_result 'Table is already up to date' OK
20
 
--exec $DRIZZLE_CHECK --analyze --optimize  --databases test information_schema
21
 
--exec $DRIZZLE_CHECK --analyze --optimize information_schema schemata
22
 
 
23
 
#
24
 
# Bug #30654: mysqlcheck fails during upgrade of tables whose names include backticks
25
 
#
26
 
create table `t``1`(a int);
27
 
create table `t 1`(a int);
28
 
--replace_result 'Table is already up to date' OK
29
 
--exec $DRIZZLE_CHECK --databases test
30
 
drop table `t``1`, `t 1`;
31
 
 
32
 
--echo End of 5.0 tests