mirror of
https://github.com/MariaDB/server.git
synced 2025-11-09 11:41:36 +03:00
rollback_inplace_alter_table(): Tolerate a case where the transaction is not in an active state. If ha_innobase::commit_inplace_alter_table() failed with a deadlock, the transaction would already have been rolled back. This omission of error handling was introduced in commit1bd681c8b3(MDEV-25506 part 3). After commitc3c53926c4(MDEV-26554) it became easier to trigger DB_DEADLOCK during exclusive table lock acquisition in ha_innobase::commit_inplace_alter_table(). lock_table_low(): Add DBUG injection "innodb_table_deadlock".
5.1 KiB
5.1 KiB