mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
BUG#46166
Merging to latest mysql-5.1-bugteam.
This commit is contained in:
@ -1192,7 +1192,11 @@ int ha_commit_trans(THD *thd, bool all)
|
||||
error=ha_commit_one_phase(thd, all) ? (cookie ? 2 : 1) : 0;
|
||||
DBUG_EXECUTE_IF("crash_commit_before_unlog", DBUG_SUICIDE(););
|
||||
if (cookie)
|
||||
tc_log->unlog(cookie, xid);
|
||||
if(tc_log->unlog(cookie, xid))
|
||||
{
|
||||
error= 2;
|
||||
goto end;
|
||||
}
|
||||
DBUG_EXECUTE_IF("crash_commit_after", DBUG_SUICIDE(););
|
||||
end:
|
||||
if (rw_trans)
|
||||
|
Reference in New Issue
Block a user