summaryrefslogtreecommitdiff
path: root/sql/sql_load.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
commit3950b70336bf722af5a41c7a73b3f44f13d8a38a (patch)
treed114eefb7420ba742d8c275a4841b0c8aeedaeb0 /sql/sql_load.cc
parent0bc6cf9e53424917e12b6d004e1f7ad31080d9cf (diff)
downloadmariadb-git-3950b70336bf722af5a41c7a73b3f44f13d8a38a.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_load.cc')
-rw-r--r--sql/sql_load.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/sql_load.cc b/sql/sql_load.cc
index b79a3b739d7..758ff88477b 100644
--- a/sql/sql_load.cc
+++ b/sql/sql_load.cc
@@ -283,8 +283,10 @@ int mysql_load(THD *thd,sql_exchange *ex,TABLE_LIST *table_list,
table->copy_blobs=0;
thd->count_cuted_fields=0; /* Don`t calc cuted fields */
- /* We must invalidate the table in query cache before binlog writing and
- ha_autocommit_... */
+ /*
+ We must invalidate the table in query cache before binlog writing and
+ ha_autocommit_...
+ */
query_cache_invalidate3(thd, table_list, 0);
if (error)