diff options
author | marko@hundin.mysql.fi <> | 2005-07-13 16:13:36 +0300 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2005-07-13 16:13:36 +0300 |
commit | bf7b47d92e3ebf3f9d9199a5442e87f1d16208d8 (patch) | |
tree | 9441884f34e9d5875206e0b1049c60a6c20342aa /sql | |
parent | 4a5c65e146f59fa48144aebb88ca132d36dc2fee (diff) | |
download | mariadb-git-bf7b47d92e3ebf3f9d9199a5442e87f1d16208d8.tar.gz |
sql_update.cc:
mysql_update(): Call handler::unlock_row()
also in the first while loop.
This patch is from Heikki,
and it was approved by Sergei Golubchik.
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_update.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index ce4a7d6394e..8a5b4ad8eae 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -337,6 +337,8 @@ int mysql_update(THD *thd, break; } } + else + table->file->unlock_row(); } if (thd->killed && !error) error= 1; // Aborted |