mirror of
https://github.com/MariaDB/server.git
synced 2026-05-17 20:37:12 +02:00
MDEV-36787 Error 153: No savepoint with that name upon ROLLBACK TO SAVEPOINT, assertion failure
1. InnoDB should return HA_ERR_ROLLBACK if it aborts a transaction internally 2. the server should recognize it and perform an automatic rollback
This commit is contained in:
parent
d08fd6343e
commit
387fe5ecc3
6 changed files with 42 additions and 9 deletions
|
|
@ -15938,6 +15938,7 @@ ha_innobase::extra(
|
|||
trx = check_trx_exists(ha_thd());
|
||||
m_prebuilt->table->skip_alter_undo = 0;
|
||||
trx->rollback();
|
||||
return(HA_ERR_ROLLBACK);
|
||||
}
|
||||
break;
|
||||
default:/* Do nothing */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue