~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/frm.test

  • Committer: Stewart Smith
  • Date: 2009-01-12 05:43:13 UTC
  • mto: (784.1.4 for-brian)
  • mto: This revision was merged to the branch mainline in revision 785.
  • Revision ID: stewart@flamingspork.com-20090112054313-edk6kpf4l6kpz4j7
fix archive_basic for drizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Random crappy tests that are frm related. Stewart should check these out
 
3
#
 
4
 
 
5
 
 
6
# Test for BUG#93: 4.1 protocl crash on corupted frm and SHOW TABLE STATUS
 
7
 
 
8
flush tables;
 
9
 
 
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
--replace_column 6 # 7 # 8 # 9 #
 
13
SHOW TABLE STATUS like 't1';
 
14
--error 1033
 
15
show create table t1;
 
16
--error 1051
 
17
drop table if exists t1;
 
18
--remove_file $MYSQLTEST_VARDIR/master-data/test/t1.frm
 
19
 
 
20
#end bug 93