1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03: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.
This commit is contained in:
marko@hundin.mysql.fi
2005-07-13 16:13:36 +03:00
parent 4a5c65e146
commit bf7b47d92e

View File

@ -337,6 +337,8 @@ int mysql_update(THD *thd,
break;
}
}
else
table->file->unlock_row();
}
if (thd->killed && !error)
error= 1; // Aborted