summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index c41586c58c8..2e9a3c5e355 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -259,6 +259,8 @@ int mysql_update(THD *thd,TABLE_LIST *table_list,List<Item> &fields,
}
}
}
+ else
+ table->file->unlock_row();
}
end_read_record(&info);
thd->proc_info="end";