summaryrefslogtreecommitdiff
path: root/sql/sql_delete.cc
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-05-26 20:48:40 +0300
committerunknown <monty@mashka.mysql.fi>2003-05-26 20:48:40 +0300
commitda9bf1dec30f9d1cda414d0a96ca93c11b1a77e7 (patch)
treed114eefb7420ba742d8c275a4841b0c8aeedaeb0 /sql/sql_delete.cc
parent926add9c888941bb2d307cd325d10ffcf85a8775 (diff)
downloadmariadb-git-da9bf1dec30f9d1cda414d0a96ca93c11b1a77e7.tar.gz
ixed wrong unlock of tables (new bug)
sql/sql_delete.cc: Comment cleanup sql/sql_insert.cc: Comment cleanup sql/sql_load.cc: Comment cleanup sql/sql_update.cc: Fixed wrong unlock of tables. (Unlock must be done after writing to binary log
Diffstat (limited to 'sql/sql_delete.cc')
-rw-r--r--sql/sql_delete.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/sql_delete.cc b/sql/sql_delete.cc
index 9c1743eeb12..ebb09b99df7 100644
--- a/sql/sql_delete.cc
+++ b/sql/sql_delete.cc
@@ -481,8 +481,10 @@ bool multi_delete::send_eof()
/* reset used flags */
thd->proc_info="end";
- /* We must invalidate the query cache before binlog writing and
- ha_autocommit_... */
+ /*
+ We must invalidate the query cache before binlog writing and
+ ha_autocommit_...
+ */
if (deleted)
query_cache_invalidate3(thd, delete_tables, 1);