A fix (Bug #5415: Table marked as crashed after DELETE queries).

This commit is contained in:
ram@gw.mysql.r18.ru 2004-09-19 16:15:01 +05:00
parent c6dc339647
commit 62a42f7f57

View file

@ -282,6 +282,8 @@ multi_delete::initialize_tables(JOIN *join)
walk=walk->next;
/* Don't use KEYREAD optimization on this table */
tbl->no_keyread=1;
/* Don't use record cache */
tbl->no_cache= 1;
tbl->used_keys= 0;
if (tbl->file->has_transactions())
log_delayed= transactional_tables= 1;