Commit bf7b47d9 authored by marko@hundin.mysql.fi's avatar marko@hundin.mysql.fi

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 4a5c65e1
......@@ -337,6 +337,8 @@ int mysql_update(THD *thd,
break;
}
}
else
table->file->unlock_row();
}
if (thd->killed && !error)
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