diff options
author | ram@gw.mysql.r18.ru <> | 2004-09-19 16:15:01 +0500 |
---|---|---|
committer | ram@gw.mysql.r18.ru <> | 2004-09-19 16:15:01 +0500 |
commit | 62a42f7f5723214393a4e3c57098a5466f58e985 (patch) | |
tree | 4721a9c387164bc24a0efcfa9835591a7ae4600c /sql/sql_delete.cc | |
parent | c6dc3396478149996ac1a5fa5ee22e089f6a640f (diff) | |
download | mariadb-git-62a42f7f5723214393a4e3c57098a5466f58e985.tar.gz |
A fix (Bug #5415: Table marked as crashed after DELETE queries).
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r-- | sql/sql_delete.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc index 555e63b9e32..92193e3abf2 100644 --- a/sql/sql_delete.cc +++ b/sql/sql_delete.cc @@ -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; |