mariadb/mysql-test/suite/binlog
Marko Mäkelä 67fceadfa4 MDEV-38769: rollback on CREATE TEMPORARY TABLE ... SELECT errors
For CREATE TEMPORARY TABLE ... SELECT, InnoDB had code to not start a new
transaction for the CREATE TEMPORARY (correct). But the code that handled
failure for the SELECT part (ha_innobase::extra(HA_EXTRA_ABORT_ALTER_COPY))
was missing a check for CREATE TEMPORARY, so it would roll back the entire
transaction, which is wrong, and could lead to inconsistency with binlog or
other engines in the same transaction.

Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>

(cherry picked from commit d228f237f2
and commit eba285f2a2)
2026-02-06 14:24:16 +02:00
..
include cleanup: select ... into tests 2025-07-17 09:18:18 +02:00
r MDEV-38769: rollback on CREATE TEMPORARY TABLE ... SELECT errors 2026-02-06 14:24:16 +02:00
std_data MDEV-5115 RBR from MySQL 5.6 to MariaDB 10.0 does not work 2013-12-09 12:37:45 +01:00
t MDEV-37541 Race of rolling back and committing transaction to binlog 2025-12-02 17:16:02 +02:00
combinations
disabled.def MDEV-30940: Revert "binlog.innodb_rc_insert_before_delete is disabled with MDEV-30490" 2023-01-30 21:28:21 +01:00