diff options
| author | Sergey Vojtovich <svoj@sun.com> | 2009-10-14 16:26:16 +0500 |
|---|---|---|
| committer | Sergey Vojtovich <svoj@sun.com> | 2009-10-14 16:26:16 +0500 |
| commit | 8e65618fa975e92d115479d40fce332ba4cd126c (patch) | |
| tree | b047735ba856637f67b7387feb4cb25cc3028f9a /mysql-test/t/myisam_crash_before_flush_keys.test | |
| parent | 6da93b223b4b929402b432f90b2585d38f2f1e5a (diff) | |
| download | mariadb-git-8e65618fa975e92d115479d40fce332ba4cd126c.tar.gz | |
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.
Diffstat (limited to 'mysql-test/t/myisam_crash_before_flush_keys.test')
| -rw-r--r-- | mysql-test/t/myisam_crash_before_flush_keys.test | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/mysql-test/t/myisam_crash_before_flush_keys.test b/mysql-test/t/myisam_crash_before_flush_keys.test index d6559f7760d..1860ddd27e3 100644 --- a/mysql-test/t/myisam_crash_before_flush_keys.test +++ b/mysql-test/t/myisam_crash_before_flush_keys.test @@ -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; |
