From 5cafc4d3a48f27e061523c2e9630e6c27a45882e Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 19 Feb 2003 15:08:29 +0100 Subject: Applied Sinisa's patch: "A fix for non-releasing locks for multi table updates and multi table deletes with InnoDB tables." --- sql/sql_update.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_update.cc') 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); -- cgit v1.2.1