~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/frm.test

  • Committer: Monty Taylor
  • Date: 2009-03-20 04:49:49 UTC
  • mto: (950.1.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 958.
  • Revision ID: mordred@inaugust.com-20090320044949-nfx7ygyy89ojl6v5
RemovedĀ unusedĀ code.

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
system echo "this is a junk file for test" >> $MYSQLTEST_VARDIR/master-data/test/t1.dfe ;
12
13
--replace_column 6 # 7 # 8 # 9 #
13
14
SHOW TABLE STATUS like 't1';
14
 
--error ER_CORRUPT_TABLE_DEFINITION
 
15
--error 1033
15
16
show create table t1;
16
 
--error ER_CORRUPT_TABLE_DEFINITION
 
17
--error 1051
17
18
drop table if exists t1;
18
 
system rm -f $DRIZZLETEST_VARDIR/master-data/local/test/t1.dfe;
 
19
--remove_file $MYSQLTEST_VARDIR/master-data/test/t1.frm
 
20
--remove_file $MYSQLTEST_VARDIR/master-data/test/t1.dfe
19
21
 
20
22
#end bug 93