1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

SQL: TRT fix for crash_commit_after [#305, #302]

Tests affected: innodb.group_commit_crash (verbosity improved)
This commit is contained in:
Aleksey Midenkov
2017-11-14 20:40:33 +03:00
parent ab04950136
commit 2b60afe8d2
3 changed files with 43 additions and 22 deletions

View File

@@ -1428,7 +1428,7 @@ int ha_commit_trans(THD *thd, bool all)
if (trt.update())
goto err;
if (all)
trans_commit_stmt(thd);
commit_one_phase_2(thd, false, &thd->transaction.stmt, false);
break;
}
}