diff options
author | Michael Widenius <monty@askmonty.org> | 2012-03-30 13:42:52 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-03-30 13:42:52 +0300 |
commit | 76e1dd04a5067ae2d199ef28e1e13ea04fa1f221 (patch) | |
tree | 0cfbd3e776cf369bc23b3923787f07d32c1e3aa7 /mysql-test/suite/maria/t | |
parent | c4131404820a135dc1f179fcea6e5745df8266ce (diff) | |
download | mariadb-git-76e1dd04a5067ae2d199ef28e1e13ea04fa1f221.tar.gz |
Fixed bug lp:967914 "CHECK TABLE persistently reports table corruption after removing Aria logs"mariadb-5.1.61
Fixed that repair removes the 'table is moved' mark.
mysql-test/suite/maria/r/maria-autozerofill.result:
Test case for lp:967914
mysql-test/suite/maria/t/maria-autozerofill.test:
Test case for lp:967914
storage/maria/ha_maria.cc:
Fixed that repair removes the 'table is moved' mark.
Diffstat (limited to 'mysql-test/suite/maria/t')
-rw-r--r-- | mysql-test/suite/maria/t/maria-autozerofill.test | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/suite/maria/t/maria-autozerofill.test b/mysql-test/suite/maria/t/maria-autozerofill.test index 1a9445ed9f0..79e209d5d90 100644 --- a/mysql-test/suite/maria/t/maria-autozerofill.test +++ b/mysql-test/suite/maria/t/maria-autozerofill.test @@ -31,6 +31,8 @@ create table t3 (a int) engine=maria; INSERT INTO t3 VALUES (1),(2); create table t4 (a int) engine=maria; INSERT INTO t4 VALUES (1),(2); +create table t5 (a int) engine=maria; +INSERT INTO t5 VALUES (1),(2); flush tables; # Check that table is not zerofilled, not movable @@ -96,9 +98,14 @@ EOF check table t2; check table t2; repair table t2; +check table t2; replace_result \\ /; optimize table t3; replace_result \\ /; analyze table t4; +repair table t5; +check table t5; +repair table t5; +check table t5; drop database mysqltest; |