#At file:///home/satya/WORK/mysql-5.1-bugteam-41574/
2750 Satya B 2009-01-22
TestCase for BUG#41574 - REPAIR TABLE: crashes for compressed tables
Extending the existing testcase written for BUG#40949 to verify
repair table operation for compressed tables
modified:
mysql-test/r/myisampack.result
mysql-test/t/myisampack.test
per-file messages:
mysql-test/r/myisampack.result
Modified result file for myisampack.test
mysql-test/t/myisampack.test
Modified Testcase to test repair operation for compressed tables
=== modified file 'mysql-test/r/myisampack.result'
--- a/mysql-test/r/myisampack.result 2008-12-17 13:23:21 +0000
+++ b/mysql-test/r/myisampack.result 2009-01-22 05:55:26 +0000
@@ -48,4 +48,9 @@ Table Op Msg_type Msg_text
test.t1 optimize error Table 'test.t1' is read only
Warnings:
Error 1036 Table 't1' is read only
+repair table t1;
+Table Op Msg_type Msg_text
+test.t1 repair error Table 'test.t1' is read only
+Warnings:
+Error 1036 Table 't1' is read only
drop table t1;
=== modified file 'mysql-test/t/myisampack.test'
--- a/mysql-test/t/myisampack.test 2008-12-17 13:23:21 +0000
+++ b/mysql-test/t/myisampack.test 2009-01-22 05:55:26 +0000
@@ -34,6 +34,8 @@ DROP TABLE t1;
#
# Bug#40949 Debug version of MySQL server crashes when run OPTIMIZE on compressed table.
+# expanded with testcase for
+# BUG#41574 - REPAIR TABLE: crashes for compressed tables
#
--disable_warnings
drop table if exists t1;
@@ -55,4 +57,5 @@ insert into t1 select * from t1;
flush tables;
--exec $MYISAMPACK $MYSQLTEST_VARDIR/master-data/test/t1
optimize table t1;
+repair table t1;
drop table t1;
| Thread |
|---|
| • bzr commit into mysql-5.1-bugteam branch (satya.bn:2750) Bug#41574 | Satya B | 22 Jan |