mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
A fix (Bug #5415: Table marked as crashed after DELETE queries).
This commit is contained in:
parent
c6dc339647
commit
62a42f7f57
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue