mariadb/mysql-test/suite/binlog
Nikita Malyavin ea291a59d2 MDEV-37718 Assertion '!thd->rgi_slave' failed on GTT DML
Assertion '!thd->rgi_slave' failed in open_global_temporary_table on
CREATE/ANALYZE GTT, also a SIGSEGV in the release build.

This is a result of a fact that some operations led to opening a child
table on slave. The bug can be split in two parts:

1. SELECT part of CREATE...SELECT is replicated. It was binlogged,
despite table_creation_was_logged=0 explicitly set. To avoid, fall to
the row logging path of create_select, i.e. log SHOW CREATE output, but
don't actually log rows.
The relevant changes are in sql_insert.cc

2. Admin commands like ANALYZE TABLE still create a child table on open,
but are binlogged. Binlogging them would be otherwise harmless, but
better to avoid it, until the commands are fully supported and make
sense.
For now, avoid binlogging them with lex->no_write_to_binlog=false.
2025-10-10 16:56:20 +02:00
..
include Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
r MDEV-37718 Assertion '!thd->rgi_slave' failed on GTT DML 2025-10-10 16:56:20 +02:00
std_data MDEV-30128 remove support for 5.1- replication events 2023-02-05 22:02:30 +01:00
t MDEV-35915 Implement Global temporary tables 2025-10-10 16:12:10 +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
my.cnf MDEV-31404 Implement binlog_space_limit 2024-02-14 15:02:21 +01:00