mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
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.
This commit is contained in:
parent
7001961e25
commit
859ccd3b7a
1 changed files with 2 additions and 0 deletions
|
@ -337,6 +337,8 @@ int mysql_update(THD *thd,
|
|||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
table->file->unlock_row();
|
||||
}
|
||||
if (thd->killed && !error)
|
||||
error= 1; // Aborted
|
||||
|
|
Loading…
Add table
Reference in a new issue