Commit 859ccd3b authored by unknown's avatar unknown

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.
parent 7001961e
...@@ -337,6 +337,8 @@ int mysql_update(THD *thd, ...@@ -337,6 +337,8 @@ int mysql_update(THD *thd,
break; break;
} }
} }
else
table->file->unlock_row();
} }
if (thd->killed && !error) if (thd->killed && !error)
error= 1; // Aborted error= 1; // Aborted
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment