~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/frm.test

  • Committer: Brian Aker
  • Date: 2009-05-15 17:06:35 UTC
  • mto: This revision was merged to the branch mainline in revision 1023.
  • Revision ID: brian@gaz-20090515170635-croy1u63a3gqdn9n
Dead convert functions for character sets.

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