diff options
author | unknown <marko@hundin.mysql.fi> | 2005-07-13 16:13:36 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2005-07-13 16:13:36 +0300 |
commit | 859ccd3b7a7e2c3fcbcf021877b1e1220dc7829c (patch) | |
tree | 9441884f34e9d5875206e0b1049c60a6c20342aa /sql/sql_update.cc | |
parent | 7001961e255dd454fe79311d5721dc9223f662e0 (diff) | |
download | mariadb-git-859ccd3b7a7e2c3fcbcf021877b1e1220dc7829c.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.
sql/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/sql_update.cc')
-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 |