diff options
author | Michael Widenius <monty@mysql.com> | 2008-06-28 11:27:14 +0300 |
---|---|---|
committer | Michael Widenius <monty@mysql.com> | 2008-06-28 11:27:14 +0300 |
commit | 9f589947b8b1e06a3e6b46bb6204670705aad21f (patch) | |
tree | f68590a816b820f96d867cacf50998ef78f01e10 /mysql-test/t/old-mode.test | |
parent | 1d726038324e9ed977b9b1a7d2ebf90ca647db9d (diff) | |
download | mariadb-git-9f589947b8b1e06a3e6b46bb6204670705aad21f.tar.gz |
Fix for Bug #36578 Maria: maria-recover may fail to autorepair a table
Fixed also some similar issues in MyISAM. This was not noticed before as MyISAM did a second retry without key cache (which just made the second repair attempty slower)
storage/maria/ha_maria.cc:
Print information if we retry without quick in case of CHECK TABLE table_name QUICK
Remove T_QUICK flag when retrying repair, but set T_SAFE_REPAIR to ensure we don't loose any rows
Remember T_RETRY_WITH_QUICK flag when restoring repair flags
Don't print 'checking table' if we are not checking table in auto-repair
Don't use T_QUICK in auto repair (safer)
Changed parameter of type HA_PARAM ¶m to HA_PARAM *param
storage/maria/ha_maria.h:
Changed parameter of type HA_PARAM ¶m to HA_PARAM *param
storage/maria/ma_check.c:
Added retry without T_QUICK if there is a problem reading a row in BLOCK_RECORD
storage/myisam/ha_myisam.cc:
Remove T_QUICK flag when retrying repair, but set T_SAFE_REPAIR to ensure we don't loose any rows
Remember T_RETRY_WITH_QUICK flag when restoring repair flags
Diffstat (limited to 'mysql-test/t/old-mode.test')
0 files changed, 0 insertions, 0 deletions