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 |
||
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; |
|
779
by Brian Aker
Fix for FRM. |
16 |
--error 1051
|
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; |
18 |
--remove_file $MYSQLTEST_VARDIR/master-data/test/t1.frm
|
|
19 |
||
779
by Brian Aker
Fix for FRM. |
20 |
#end bug 93 |