mariadb/mysql-test/suite
Nikita Malyavin 78e90c7846 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_binlo=false.
2025-09-26 02:08:30 +02:00
..
archive Merge remote-tracking branch 'github/bb-11.4-release' into bb-11.8-serg 2025-04-27 19:40:00 +02:00
atomic Fix the test: changing charset should be dome when we can not skip the test. 2025-05-09 07:36:15 +02:00
binlog MDEV-37718 Assertion '!thd->rgi_slave' failed on GTT DML 2025-09-26 02:08:30 +02:00
binlog_encryption Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
client Fix typos in mysql-test/ 2025-04-29 13:53:16 +10:00
compat MDEV-13817 add support for oracle left join syntax - the ( + ) 2025-08-04 12:05:53 +02:00
csv mariadb-test: wait on disconnect 2025-07-16 09:14:33 +07:00
encryption fix tests for --view 2025-08-03 14:59:18 +02:00
engines Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
events MDEV-35617: DROP USER should leave no active session for that user 2025-07-16 09:14:33 +07:00
federated Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
funcs_1 Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
funcs_2 Merge 11.4 into 11.8 2025-04-02 14:07:01 +03:00
galera MDEV-36554: Assertion `is_wsrep() == wsrep_on(mysql_thd)' failed in void trx_t::commit_in_memory(const mtr_t*) 2025-08-04 14:58:18 +02:00
galera_3nodes Merge branch '11.8' into 12.0 2025-07-31 20:55:47 +02:00
galera_3nodes_sr Merge 11.4 into 11.8 2025-04-02 14:07:01 +03:00
galera_sr Fix typos in mysql-test/ 2025-04-29 13:53:16 +10:00
gcol Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
handler mariadb-test: wait on disconnect 2025-07-16 09:14:33 +07:00
heap Merge branch '11.4' into 11.7 2025-02-06 16:46:36 +01:00
innodb Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
innodb_fts Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
innodb_gis mariadb-test: wait on disconnect 2025-07-16 09:14:33 +07:00
innodb_i_s
innodb_zip Fix typos in mysql-test/ 2025-04-29 13:53:16 +10:00
jp Fix typos in mysql-test/ 2025-04-29 13:53:16 +10:00
json Merge branch '11.8' into 12.0 2025-05-22 09:22:55 +02:00
large_tests
maria MDEV-24 Segmented key cache for Aria 2025-06-25 17:59:45 +03:00
mariabackup Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
merge mariadb-test: wait on disconnect 2025-07-16 09:14:33 +07:00
mtr/t
mtr2
multi_source Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
optimizer_unfixed_bugs
parts Merge branch '11.8' into 12.0 2025-07-31 20:55:47 +02:00
perfschema Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
perfschema_stress remove features that were deprecated in 10.5 2025-04-29 16:53:02 +02:00
period Merge branch '11.8' into 12.0 2025-07-31 20:55:47 +02:00
plugins Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
roles Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
rpl MDEV-37718 Assertion '!thd->rgi_slave' failed on GTT DML 2025-09-26 02:08:30 +02:00
s3 Merge branch '11.8' into 12.0 2025-06-18 07:50:39 +02:00
sql_sequence Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
storage_engine mariadb-test: wait on disconnect 2025-07-16 09:14:33 +07:00
stress
sys_vars 12.2 branch 2025-08-04 21:28:16 +02:00
sysschema Merge branch '11.8' into 12.0 2025-07-31 20:55:47 +02:00
unit
vcol Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
versioning Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
wsrep Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00