mariadb/mysql-test/suite/multi_source
Monty e3cfb7c803 MDEV-23844 Atomic DROP TABLE (single table)
Logging logic:
- Log tables, just before they are dropped, to the ddl log
- After the last table for the statement is dropped, log an xid for the
  whole ddl log event

In case of crash:
- Remove first any active DROP TABLE events from the ddl log that matches
  xids found in binary log (this mean the drop was successful and was
  propery logged).
- Loop over all active DROP TABLE events
  - Ensure that the table is completely dropped
- Write a DROP TABLE entry to the binary log with the dropped tables.

Other things:
- Added code to ha_drop_table() to be able to tell the difference if
  a get_new_handler() failed because of out-of-memory or because the
  handler refused/was not able to create a a handler. This was needed
  to get sequences to work as sequences needs a share object to be passed
  to get_new_handler()
- TC_LOG_BINLOG::recover() was changed to always collect Xid's from the
  binary log and always call ddl_log_close_binlogged_events(). This was
  needed to be able to collect DROP TABLE events with embedded Xid's
  (used by ddl log).
- Added a new variable "$grep_script" to binlog filter to be able to find
  only rows that matches a regexp.
- Had to adjust some test that changed because drop statements are a bit
  larger in the binary log than before (as we have to store the xid)

Other things:
- MDEV-25588 Atomic DDL: Binlog query event written upon recovery is corrupt
  fixed (in the original commit).
2021-05-19 22:54:12 +02:00
..
disabled.def MDEV-20101 Assertion failure on select @@global.'m2'.replicate_ignore_table; 2019-08-05 16:03:33 +04:00
gtid.cnf
gtid.result
gtid.test MDEV-9038 Binlog encryption tests 2016-12-05 20:19:01 +02:00
gtid_ignore_duplicates.cnf
gtid_ignore_duplicates.result MDEV-16421 Make system tables crash safe 2018-08-14 12:18:38 +03:00
gtid_ignore_duplicates.test MDEV-16421 Make system tables crash safe 2018-08-14 12:18:38 +03:00
gtid_slave_pos.result MDEV-12179: Per-engine mysql.gtid_slave_pos table 2017-05-10 15:48:32 +02:00
gtid_slave_pos.test MDEV-12179: Per-engine mysql.gtid_slave_pos table 2017-05-10 15:48:32 +02:00
info_logs-master.opt
info_logs.result perfschema compilation, test and misc fixes 2020-03-10 19:24:23 +01:00
info_logs.test MDEV-23511 shutdown_server 10 times out, causing server kill at shutdown 2020-08-21 14:48:53 +03:00
load_data.result
load_data.test MDEV-9038 Binlog encryption tests 2016-12-05 20:19:01 +02:00
mdev-8874.cnf MDEV-8874 Replication filters configured in my.cnf are ignored if slave reset and reconfigured 2019-06-27 09:54:20 +05:30
mdev-8874.result post-merge fixes 2019-07-09 22:24:50 +03:00
mdev-8874.test MDEV-8874 Replication filters configured in my.cnf are ignored if slave reset and reconfigured 2019-06-27 09:54:20 +05:30
mdev-9544.cnf MDEV-9544 FLUSH [RELAY] LOGS does not rotate logs for a named slave 2017-06-05 13:11:10 +05:30
mdev-9544.result MDEV-9544 Fix test case for 10.2 2017-06-10 12:57:59 +05:30
mdev-9544.test MDEV-9544 FLUSH [RELAY] LOGS does not rotate logs for a named slave 2017-06-05 13:11:10 +05:30
multi_parallel.cnf Mdev-10664 Add statuses about optimistic parallel replication stalls 2018-04-19 16:04:23 +05:30
multi_parallel.result Mdev-10664 Add statuses about optimistic parallel replication stalls 2018-04-19 16:04:23 +05:30
multi_parallel.test Mdev-10664 Add statuses about optimistic parallel replication stalls 2018-04-19 16:04:23 +05:30
multi_parallel_loop.inc Mdev-10664 Add statuses about optimistic parallel replication stalls 2018-04-19 16:04:23 +05:30
multi_source_slave_alias_replica.result perfschema compilation, test and misc fixes 2020-03-10 19:24:23 +01:00
multi_source_slave_alias_replica.test MDEV-20601: Make REPLICA a synonym for SLAVE in SQL statements 2020-02-04 18:16:21 +05:30
multisource.result MDEV-16437: merge 5.7 P_S replication instrumentation and tables 2021-04-16 09:02:00 +05:30
multisource.test Move mysql-test-run/extra/rpl_tests to suite/rpl/include 2018-03-29 13:59:44 +03:00
my.cnf
relaylog_events.result
relaylog_events.test MDEV-9038 Binlog encryption tests 2016-12-05 20:19:01 +02:00
reset_slave.result MDEV-18648: slave_parallel_mode= optimistic default in 10.5 2019-12-23 17:48:01 +05:30
reset_slave.test MDEV-23844 Atomic DROP TABLE (single table) 2021-05-19 22:54:12 +02:00
simple.result MDEV-16437: merge 5.7 P_S replication instrumentation and tables 2021-04-16 09:02:00 +05:30
simple.test MDEV-16437: merge 5.7 P_S replication instrumentation and tables 2021-04-16 09:02:00 +05:30
skip_counter.result
skip_counter.test MDEV-9038 Binlog encryption tests 2016-12-05 20:19:01 +02:00
status_vars.result
status_vars.test MDEV-9038 Binlog encryption tests 2016-12-05 20:19:01 +02:00
syntax.result Mdev-10664 Add statuses about optimistic parallel replication stalls 2018-04-19 16:04:23 +05:30
syntax.test