summaryrefslogtreecommitdiff
path: root/sql/lock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/lock.cc')
-rw-r--r--sql/lock.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/lock.cc b/sql/lock.cc
index 57ced99417b..ba6bac22945 100644
--- a/sql/lock.cc
+++ b/sql/lock.cc
@@ -312,7 +312,7 @@ int mysql_lock_tables(THD *thd, MYSQL_LOCK *sql_lock,
including) one that caused error. Lock type for other tables
preserved.
*/
- reset_lock_data(sql_lock, 0);
+ reset_lock_data(sql_lock, 1);
if (rc > 1)
{