summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2004-07-13 16:51:10 +0200
committerunknown <guilhem@mysql.com>2004-07-13 16:51:10 +0200
commit6221e0decc023eaa0bd8602905d4e0addfb5fbce (patch)
tree47faff62294fc5946fdc4c66c30c9f75116415bb /support-files
parent80e005737b921624a7cf9d6dbdea6597897341e1 (diff)
downloadmariadb-git-6221e0decc023eaa0bd8602905d4e0addfb5fbce.tar.gz
WL#1900 "When CHECK TABLE or ANALYZE TABLE of a MyISAM table is killed
by KILL or shutdown, do not mark the table as corrupted". It is indeed more logical to leave the corruption flag unchanged. This cannot be extended to REPAIR/OPTIMIZE as they make no backup copy of the MYI. This patch was tested with KILL and mysqladmin shutdown while a CHECK TABLE was running. Without the patch, the table becomes unusable (can't INSERT to it, error 145). With the patch, no. sql/ha_myisam.cc: When CHECK TABLE or ANALYZE TABLE is killed by KILL, do not mark the table corrupted; leave its corruption flag unchanged.
Diffstat (limited to 'support-files')
0 files changed, 0 insertions, 0 deletions