~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/frm.test

  • Committer: Stewart Smith
  • Date: 2009-02-10 07:06:51 UTC
  • mto: (869.1.8 nofrm)
  • mto: This revision was merged to the branch mainline in revision 870.
  • Revision ID: stewart@flamingspork.com-20090210070651-3m431t44s3j38l0z
move table proto parsing off into own function. Handle errors in reading and parsing table proto, returning correct error to user. fix tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 
10
10
# Create a junk frm file on disk
11
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
15
--error 1033
16
17
--error 1051
17
18
drop table if exists t1;
18
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