diff options
author | lenz@mysql.com <> | 2003-02-19 15:08:29 +0100 |
---|---|---|
committer | lenz@mysql.com <> | 2003-02-19 15:08:29 +0100 |
commit | 8a272349b984cfeb8671a88ac68aa5fc32ee8458 (patch) | |
tree | 2b5ef9851b2c6523a904765ae066e60275171cbd /sql/sql_update.cc | |
parent | 7a6d8edfd7ebe6ac82a531009fdb5086a0237790 (diff) | |
download | mariadb-git-8a272349b984cfeb8671a88ac68aa5fc32ee8458.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.cc | 2 |
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); |