~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/frm.test

  • Committer: Brian Aker
  • Date: 2009-01-24 09:43:35 UTC
  • Revision ID: brian@gir-3.local-20090124094335-6qdtvc35gl5fvivz
Adding in an example singe thread scheduler

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
flush tables;
9
9
 
10
 
# Create a junk proto dfe file on disk
11
 
system echo "this is a junk file for test" >> $DRIZZLETEST_VARDIR/master-data/local/test/t1.dfe ;
 
10
# Create a junk frm file on disk
 
11
system echo "this is a junk file for test" >> $MYSQLTEST_VARDIR/master-data/test/t1.frm ;
12
12
--replace_column 6 # 7 # 8 # 9 #
13
13
SHOW TABLE STATUS like 't1';
14
 
--error ER_CORRUPT_TABLE_DEFINITION
 
14
--error 1033
15
15
show create table t1;
16
 
--error ER_CORRUPT_TABLE_DEFINITION
 
16
--error 1051
17
17
drop table if exists t1;
18
 
system rm -f $DRIZZLETEST_VARDIR/master-data/local/test/t1.dfe;
 
18
--remove_file $MYSQLTEST_VARDIR/master-data/test/t1.frm
19
19
 
20
20
#end bug 93