summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2003-02-19 15:08:29 +0100
committerunknown <lenz@mysql.com>2003-02-19 15:08:29 +0100
commitf4d93af14d656ab96a428465dd9da81e45a5b494 (patch)
tree2b5ef9851b2c6523a904765ae066e60275171cbd /sql/sql_update.cc
parentea3e5a5c0fd2a6a81552574b7820760dd9a98cbe (diff)
downloadmariadb-git-f4d93af14d656ab96a428465dd9da81e45a5b494.tar.gz
Applied Sinisa's patch:
"A fix for non-releasing locks for multi table updates and multi table deletes with InnoDB tables."
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index 9817dcd2be5..d1a2d4d5524 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -400,7 +400,7 @@ int mysql_multi_update(THD *thd,
res= mysql_select(thd,table_list,total_list,
conds, (ORDER *) NULL, (ORDER *)NULL, (Item *) NULL,
(ORDER *)NULL,
- options | SELECT_NO_JOIN_CACHE,
+ options | SELECT_NO_JOIN_CACHE | SELECT_NO_UNLOCK,
result);
delete result;
DBUG_RETURN(res);