Commit c30a8442 authored by Jan Lindström's avatar Jan Lindström

MDEV-6729: InnoDB: Failing assertion: state == TRX_STATE_NOT_STARTED in

file trx0trx.ic line 60 

Problem was that trx might have not been started when we enter release
savepoint, this can happen when trx with savepoint is already aborted 
or when we try to release non-existing savepoint.
parent 3a91af9a
......@@ -4088,6 +4088,7 @@ innobase_release_savepoint(
DBUG_ASSERT(hton == innodb_hton_ptr);
trx = check_trx_exists(thd);
trx_start_if_not_started(trx);
/* TODO: use provided savepoint data area to store savepoint data */
......
......@@ -4657,6 +4657,7 @@ innobase_release_savepoint(
DBUG_ASSERT(hton == innodb_hton_ptr);
trx = check_trx_exists(thd);
trx_start_if_not_started(trx);
/* TODO: use provided savepoint data area to store savepoint data */
......
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