~drizzle-trunk/drizzle/development

673.3.27 by Stewart Smith
fix CREATE statements in show_check test. Add new (broken) frm test for use in future frm work.
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
1095.3.19 by Stewart Smith
remove need to write table proto to disk in .dfe if engine can handle it (new StorageEngine flag). Also fix up delete_table_proto code paths to work properly with engines handling their own protos. This commit breaks SHOW TABLES for ARCHIVE, hence the drizzledump test. Will be fixed in future commit
10
# Create a junk proto dfe file on disk
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
11
system echo "this is a junk file for test" >> $DRIZZLETEST_VARDIR/master-data/local/test/t1.dfe ;
673.3.27 by Stewart Smith
fix CREATE statements in show_check test. Add new (broken) frm test for use in future frm work.
12
--replace_column 6 # 7 # 8 # 9 #
13
SHOW TABLE STATUS like 't1';
1731.3.1 by Lee Bieber
change tests to use enum values instead of error numbers
14
--error ER_CORRUPT_TABLE_DEFINITION
673.3.27 by Stewart Smith
fix CREATE statements in show_check test. Add new (broken) frm test for use in future frm work.
15
show create table t1;
2068.7.1 by Brian Aker
First pass through error correction in SE interface for drop table.
16
--error ER_CORRUPT_TABLE_DEFINITION,ER_BAD_TABLE_ERROR
673.3.27 by Stewart Smith
fix CREATE statements in show_check test. Add new (broken) frm test for use in future frm work.
17
drop table if exists t1;
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
18
system rm -f $DRIZZLETEST_VARDIR/master-data/local/test/t1.dfe;
673.3.27 by Stewart Smith
fix CREATE statements in show_check test. Add new (broken) frm test for use in future frm work.
19
779 by Brian Aker
Fix for FRM.
20
#end bug 93