mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
BUG#47455 - The myisam_crash_before_flush_keys test fails on Windows
Simplified and made more determenistic myisam_crash_before_flush_keys test. mysql-test/r/myisam_crash_before_flush_keys.result: We don't need myisamchk to test this bug fix. CHECK TABLE after server restart is enough to ensure that the fix works. mysql-test/t/myisam_crash_before_flush_keys.test: We don't need myisamchk to test this bug fix. CHECK TABLE after server restart is enough to ensure that the fix works.
This commit is contained in:
@ -26,12 +26,6 @@ SET SESSION debug="d,crash_before_flush_keys";
|
||||
--error 2013
|
||||
FLUSH TABLE t1;
|
||||
|
||||
--echo # Run MYISAMCHK tool to check the table t1 and repair
|
||||
--replace_result $MYISAMCHK MYISAMCHK $MYSQLD_DATADIR MYSQLD_DATADIR
|
||||
--error 255
|
||||
--exec $MYISAMCHK -cs $MYSQLD_DATADIR/test/t1 2>&1
|
||||
--exec $MYISAMCHK -rs $MYSQLD_DATADIR/test/t1
|
||||
|
||||
--echo # Write file to make mysql-test-run.pl start the server
|
||||
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
||||
|
||||
@ -42,8 +36,6 @@ FLUSH TABLE t1;
|
||||
--echo # it to be back online again
|
||||
--source include/wait_until_connected_again.inc
|
||||
|
||||
SHOW CREATE TABLE t1;
|
||||
|
||||
SELECT * FROM t1 FORCE INDEX (PRIMARY);
|
||||
|
||||
# Must report that the table wasn't closed properly
|
||||
CHECK TABLE t1;
|
||||
DROP TABLE t1;
|
||||
|
Reference in New Issue
Block a user