mariadb/mysql-test/suite/rpl
Brandon Nesterenko 3218602d31 MDEV-25039: MDL BF-BF conflict because of foreign key
Fix rpl suite tests added by MDEV-25039.

rpl_foreign_key_lock_table_insert.test is removed altogether because it
is unclear what the purpose of the test is. The changes of the patch
were done on the slave, yet all operations in the test were done on the
master. Nothing different could happen on the slave because it is
configured to be serial, so all transactions would run sequentially
anyway, and no validations were performed.

rpl_foreign_key_ddl_insert.test was renamed to
rpl_row_foreign_key_mdl.test and the test itself was re-written to be
a minimal test case to ensure that MDL locking behavior is different
pre- and post- patch. A few problems with the original test:
 * No foreign-key locking was done on the slave because the table
   engine was not InnoDB.
 * rpl_fk_ddl.inc had inconsistent validation checking. I.e., the child
   query validation checks were done on the master (which is incorrect)
   and because the slave was configured to be serial, the two
   transactions could not run concurrently on the slave anyway.
2026-01-31 11:42:12 +01:00
..
extension
include Merge 10.6 -> 10.11 2024-12-05 10:11:58 +01:00
r MDEV-25039: MDL BF-BF conflict because of foreign key 2026-01-31 11:42:12 +01:00
t MDEV-25039: MDL BF-BF conflict because of foreign key 2026-01-31 11:42:12 +01:00
disabled.def Fix RPL tests post DEBUG_SYNC change 2023-02-10 14:44:45 +02:00
my.cnf Remove duplicated default client include from replication my.cnf 2023-09-14 12:56:41 +02:00
README
rpl_1slave_base.cnf

How to run.
===========

./mysql-test-run.pl --suite=rpl --mysqld=--binlog-format=mixed