mariadb/mysql-test/suite/innodb
mariadb-DebarunBanerjee 0680e31737 MDEV-36959 Deadlock does not rollback transaction fully
A deadlock forces the on going transaction to rollback implicitly.
Within a transaction block, started with START TRANSACTION / BEGIN,
implicit rollback doesn't reset OPTION_BEGIN flag. It results in a
new implicit transaction to start when the next statement is executed.
This behaviour is unexpected and should be fixed. However, we should
note that there is no issue with rollback.

We fix the issue to keep the behaviour of implicit rollback (deadlock)
similar to explicit COMMIT and ROLLBACK i.e. the next statement after
deadlock error is not going to start a transaction block implicitly
unless autocommit is set to zero.
2025-06-24 13:34:27 +05:30
..
include Merge branch '10.6' into 10.11 2024-05-10 20:02:18 +02:00
r MDEV-36959 Deadlock does not rollback transaction fully 2025-06-24 13:34:27 +05:30
t MDEV-36959 Deadlock does not rollback transaction fully 2025-06-24 13:34:27 +05:30