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 | 9b8542a4f6abde851ff428d0b6cffb789c5ccede (patch) | |
tree | 0cfbd3e776cf369bc23b3923787f07d32c1e3aa7 /storage/maria | |
parent | bbf1a7961a37daa08e9818d381df1bca9e562bed (diff) | |
download | mariadb-git-9b8542a4f6abde851ff428d0b6cffb789c5ccede.tar.gz |
Fixed bug lp:967914 "CHECK TABLE persistently reports table corruption after removing Aria logs"
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 'storage/maria')
-rw-r--r-- | storage/maria/ha_maria.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/maria/ha_maria.cc b/storage/maria/ha_maria.cc index ed554c4c24c..b261451d8dc 100644 --- a/storage/maria/ha_maria.cc +++ b/storage/maria/ha_maria.cc @@ -1562,7 +1562,7 @@ int ha_maria::repair(THD *thd, HA_CHECK *param, bool do_optimize) { DBUG_PRINT("info", ("Reseting crashed state")); share->state.changed&= ~(STATE_CHANGED | STATE_CRASHED_FLAGS | - STATE_IN_REPAIR); + STATE_IN_REPAIR | STATE_MOVED); file->update |= HA_STATE_CHANGED | HA_STATE_ROW_CHANGED; } /* |