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.
This commit is contained in:
Jan Lindström 2014-09-11 15:41:30 +03:00
parent 3a91af9a92
commit c30a8442e8
2 changed files with 2 additions and 0 deletions

View File

@ -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 */

View File

@ -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 */