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