mariadb/mysql-test/suite
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
..
archive Merge branch '10.6' into '10.11' 2025-04-16 03:34:40 +02:00
atomic Merge branch '10.6' into 10.11 2025-04-26 10:47:03 +02:00
binlog MDEV-35694: Mysqlbinlog --stop-position should warn if EOF not reached with --read-from-remote-server 2025-04-21 14:21:55 -06:00
binlog_encryption Merge 10.6 into 10.11 2025-03-27 08:01:47 +02:00
client MDEV-8334: Rename utf8 to utf8mb3 2021-05-19 06:48:36 +02:00
compat Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
csv Backporting bugs fixes fixed by MDEV-31340 from 11.5 2024-05-21 14:58:01 +04:00
encryption Merge 10.6 into 10.11 2025-03-27 08:01:47 +02:00
engines MDEV-29344: engines/iuds.insert_time cannot run with PS protocol (syntax error) 2025-03-17 18:11:51 +07:00
federated Merge branch '10.6' into '10.11' 2025-04-16 03:34:40 +02:00
funcs_1 Merge branch '10.6' into 10.11 2025-06-04 14:09:23 +02:00
funcs_2 Merge 10.5 into 10.6 2025-03-26 17:09:57 +02:00
galera Merge 10.6 into 10.11 2025-05-26 08:10:47 +03:00
galera_3nodes Merge 10.6 into 10.11 2025-05-26 08:10:47 +03:00
galera_3nodes_sr galera tests: synchronization after merge 2025-03-28 02:53:59 +01:00
galera_sr Merge branch '10.6' into '10.11' 2025-04-02 06:33:39 +02:00
gcol Merge branch '10.6' into 10.11 2025-04-21 11:23:11 +02:00
handler Merge branch '10.5' into 10.6 2024-12-17 11:06:09 +11:00
heap Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
innodb MDEV-36959 Deadlock does not rollback transaction fully 2025-06-24 13:34:27 +05:30
innodb_fts Merge 10.6 into 10.11 2025-03-28 10:55:40 +02:00
innodb_gis Merge branch '10.6' into 10.11 2025-06-04 14:09:23 +02:00
innodb_i_s Merge 10.5 into 10.6 2023-04-11 16:15:19 +03:00
innodb_zip Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
jp Merge 10.5 into 10.6 2022-09-20 16:53:20 +03:00
json MDEV-35614: JSON_UNQUOTE doesn't work with emojis 2025-04-19 08:55:05 +10:00
large_tests fix failing large_tests.maria_recover_encrypted 2024-04-22 18:38:39 +02:00
maria Merge branch '10.6' into 10.11 2025-06-04 14:09:23 +02:00
mariabackup MDEV-36871 mariadb-backup incremental segfault querying mariadb_backup_history 2025-06-23 10:26:43 +10:00
mtr/t Remove dates from all rdiff files 2025-01-05 16:40:11 +02:00
mtr2 Fix for overlayed include files on Windows and a test case 2013-11-10 14:37:32 +04:00
multi_source MDEV-36238 Functional Tests for --master-info-file and --show-slave-auth-info 2025-03-18 18:17:02 -06:00
optimizer_unfixed_bugs MDEV-29710: Disable some slow tests on Valgrind 2022-10-06 08:42:26 +03:00
parts Merge 10.6 into 10.11 2025-03-27 08:01:47 +02:00
perfschema Merge branch '10.6' into 10.11 2025-06-04 14:09:23 +02:00
perfschema_stress
period Merge 10.6 into 10.11 2025-01-08 12:51:26 +02:00
plugins Merge branch '10.6' into 10.11 2025-04-21 11:23:11 +02:00
roles Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
rpl MDEV-36663: Testcase Fixup 2025-05-13 12:27:41 +03:00
s3 Merge branch '10.6' into 10.11 2025-06-04 14:09:23 +02:00
sql_sequence MDEV-35856 Remove error code introduced to 10.11 in MDEV-36032 2025-06-05 11:07:18 +10:00
storage_engine MDEV-22189: Change error messages inside code to have mariadb instead of 2021-05-24 11:38:13 +05:30
stress MDEV-34453 Trying to read 16384 bytes at 70368744161280 outside the bounds of the file: ./ibdata1 2024-09-20 20:26:43 +05:30
sys_vars MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
sysschema Merge 10.6 into 10.11 2024-03-28 09:16:57 +02:00
unit
vcol Merge branch '10.6' into 10.11 2025-06-04 14:09:23 +02:00
versioning MDEV-34046 Parameterized PS converts error to warning, causes 2025-06-12 14:52:00 +03:00
wsrep galera tests: synchronization after merge 2025-03-28 02:53:59 +01:00