mariadb/mysql-test/suite/binlog/t
Monty e62dc52420 MDEV-25292 Atomic CREATE OR REPLACE TABLE
Atomic CREATE OR REPLACE allows to keep an old table intact if the
command fails or during the crash. That is done by renaming the
original table to temporary name, as a backup and restoring it if the
CREATE fails. When the command is complete and logged the backup
table is deleted.

Atomic replace algorithm

  Two DDL chains are used for CREATE OR REPLACE:
  ddl_log_state_create (C) and ddl_log_state_rm (D).

  1. (C) Log rename of ORIG to TMP table (Rename TMP to original).
  2. Rename orignal to TMP.
  3. (C) Log CREATE_TABLE_ACTION of ORIG (drops ORIG);
  4. Do everything with ORIG (like insert data)
  5. (D) Log drop of TMP
  6. Write query to binlog (this marks (C) to be closed in
     case of failure)
  7. Execute drop of TMP through (D)
  8. Close (C) and (D)

  If there is a failure before 6) we revert the changes in (C)
  Chain (D) is only executed if 6) succeded (C is closed on
  crash recovery).

Foreign key errors will be found at the 1) stage.

Additional notes

  - CREATE TABLE without REPLACE and temporary tables is not affected
    by this commit.
    set @@drop_before_create_or_replace=1 can be used to
    get old behaviour where existing tables are dropped
    in CREATE OR REPLACE.

  - CREATE TABLE is reverted if binlogging the query fails.

  - Engines having HTON_EXPENSIVE_RENAME flag set are not affected by
    this commit. Conflicting tables marked with this flag will be
    deleted with CREATE OR REPLACE.

  - Replication execution is not affected by this commit.
    - Replication will first drop the conflicting table and then
      creating the new one.

  - CREATE TABLE .. SELECT XID usage is fixed and now there is no need
    to log DROP TABLE via DDL_CREATE_TABLE_PHASE_LOG (see comments in
    do_postlock()). XID is now correctly updated so it disables
    DDL_LOG_DROP_TABLE_ACTION. Note that binary log is flushed at the
    final stage when the table is ready. So if we have XID in the
    binary log we don't need to drop the table.

  - Three variations of CREATE OR REPLACE handled:

    1. CREATE OR REPLACE TABLE t1 (..);
    2. CREATE OR REPLACE TABLE t1 LIKE t2;
    3. CREATE OR REPLACE TABLE t1 SELECT ..;

  - Test case uses 6 combinations for engines (aria, aria_notrans,
    myisam, ib, lock_tables, expensive_rename) and 2 combinations for
    binlog types (row, stmt). Combinations help to check differences
    between the results. Error failures are tested for the above three
    variations.

  - expensive_rename tests CREATE OR REPLACE without atomic
    replace. The effect should be the same as with the old behaviour
    before this commit.

  - Triggers mechanism is unaffected by this change. This is tested in
    create_replace.test.

  - LOCK TABLES is affected. Lock restoration must be done after new
    table is created or TMP is renamed back to ORIG

  - Moved ddl_log_complete() from send_eof() to finalize_ddl(). This
    checkpoint was not executed before for normal CREATE TABLE but is
    executed now.

  - CREATE TABLE will now rollback also if writing to the binary
    logging failed. See rpl_gtid_strict.test

backup ddl log changes

- In case of a successfull CREATE OR REPLACE we only log
  the CREATE event, not the DROP TABLE event of the old table.

ddl_log.cc changes

  ddl_log_execute_action() now properly return error conditions.
  ddl_log_disable_entry() added to allow one to disable one entry.
  The entry on disk is still reserved until ddl_log_complete() is
  executed.

On XID usage

  Like with all other atomic DDL operations XID is used to avoid
  inconsistency between master and slave in the case of a crash after
  binary log is written and before ddl_log_state_create is closed. On
  recovery XIDs are taken from binary log and corresponding DDL log
  events get disabled.  That is done by
  ddl_log_close_binlogged_events().

On linking two chains together

  Chains are executed in the ascending order of entry_pos of execute
  entries. But entry_pos assignment order is undefined: it may assign
  bigger number for the first chain and then smaller number for the
  second chain. So the execution order in that case will be reverse:
  second chain will be executed first.

  To avoid that we link one chain to another. While the base chain
  (ddl_log_state_create) is active the secondary chain
  (ddl_log_state_rm) is not executed. That is: only one chain can be
  executed in two linked chains.

  The interface ddl_log_link_chains() was defined in "MDEV-22166
  ddl_log_write_execute_entry() extension".

Atomic info parameters in HA_CREATE_INFO

  Many functions in CREATE TABLE pass the same parameters. These
  parameters are part of table creation info and should be in
  HA_CREATE_INFO (or whatever). Passing parameters via single
  structure is much easier for adding new data and
  refactoring.

InnoDB changes
  Added ha_innobase::can_be_renamed_to_backup() to check if
  a table with foreign keys can be renamed.

Aria changes:
- Fixed issue in Aria engine with CREATE + locked tables
  that data was not properly commited in some cases in
  case of crashes.

Known issues:
- InnoDB tables with foreign key definitions are not fully supported
  with atomic create and replace:
  - ha_innobase::can_be_renamed_to_backup() can detect some cases
    where InnoDB does not support renaming table with foreign key
    constraints.  In this case MariaDB will drop the old table before
    creating the new one.
    The detected cases are:
    - The new and old table is using the same foreign key constraint
      name.
    - The old table has self referencing constraints.
  - If the old and new table uses the same name for a constraint the
    create of the new table will fail. The orignal table will be
    restored in this case.
  - The above issues will be fixed in a future commit.
- CREATE OR REPLACE TEMPORARY table is not full atomic. Any conflicting
  table will always be dropped before creating a new one. (Old behaviour).
2025-03-18 18:28:16 +01:00
..
backup.test Fix that BACKUP STAGE BLOCK_COMMIT flushes binary log 2019-11-01 10:22:30 +02:00
binlog_1pc.test MDEV-28948 FLUSH BINARY LOGS waits/hangs on mysql_mutex_unlock(&LOCK_index) 2022-07-26 10:46:01 +03:00
binlog_admin_cmd_kill.test MDEV-22530: Aborting OPTIMIZE TABLE still logs in binary log and replicates to the Slave server. 2021-05-19 14:21:49 +05:30
binlog_autocommit_off_no_hang-master.opt DBAAS-7828: Primary/replica: configuration change of autocommit=0 can not be applied 2022-03-24 12:00:40 -06:00
binlog_autocommit_off_no_hang.test MDEV-16944 Fix file sharing issues on Windows in mysqltest 2024-04-17 16:52:37 +02:00
binlog_base64_flag.test MDEV-30128 remove support for 5.1- replication events 2023-02-05 22:02:30 +01:00
binlog_bug23533.test MDEV-21087/MDEV-21433: ER_SLAVE_INCIDENT arrives at slave without failure specifics 2022-07-25 16:26:53 -06:00
binlog_bug36391-master.opt WL#5867, reorganize test cases of bugs suite 2011-04-14 00:18:08 +04:00
binlog_bug36391.test WL#5867, reorganize test cases of bugs suite 2011-04-14 00:18:08 +04:00
binlog_checkpoint.test MDEV-29607: binlog.binlog_checkpoint fails in buildbot with result content mismatch 2022-11-25 12:45:35 -07:00
binlog_checkpoint_flush_logs.test MDEV-24526 binlog rotate via FLUSH LOGS may obsolate binlog file for recovery too eary 2021-04-21 15:39:32 +03:00
binlog_checksum.test Backport MySQL WL#2540 into MariaDB. 2011-05-03 14:01:11 +02:00
binlog_commit_by_rotate_atomic.test MDEV-32014: typo fix in test 2024-10-17 07:54:09 -06:00
binlog_commit_wait.test MDEV-31005: Make working cursor-protocol 2024-09-18 18:39:26 +07:00
binlog_database.test MDEV-36099 Ensure that creation and usage of temporary tables in replication is predictable 2025-03-18 18:27:27 +01:00
binlog_delete_and_flush_index-master.opt Added --log-basename to mysqld to allow one to set the prefix for all logs with one command 2011-03-23 17:59:41 +02:00
binlog_delete_and_flush_index.test BUG#34582: FLUSH LOGS does not close and reopen the binlog index 2009-10-20 09:39:40 +01:00
binlog_dmls_on_tmp_tables_readonly.test MDEV-5215 prerequisite: remove test and test_* database hacks in the test suite 2022-11-01 16:33:00 +01:00
binlog_drop_if_exists.test Make error messages from DROP TABLE and DROP TABLE IF EXISTS consistent 2020-06-14 19:39:42 +03:00
binlog_empty_xa_prepared.test MDEV-36099 Ensure that creation and usage of temporary tables in replication is predictable 2025-03-18 18:27:27 +01:00
binlog_expire_logs_seconds.test MDEV-19371: Implement binlog_expire_logs_seconds for purging of binary logs 2021-05-17 12:48:37 +05:30
binlog_expire_warnings.opt Changed some startup warnings to notes 2023-02-03 11:26:07 +03:00
binlog_expire_warnings.test MDEV-19371: Implement binlog_expire_logs_seconds for purging of binary logs 2021-05-10 09:36:40 +05:30
binlog_flush_binlogs_delete_domain.test MDEV-34504 PURGE BINARY LOGS not working anymore 2024-07-10 18:50:08 +03:00
binlog_format_switch_in_tmp_table.test MDEV-36099 Ensure that creation and usage of temporary tables in replication is predictable 2025-03-18 18:27:27 +01:00
binlog_gis_user_var_stm.test MDEV-27666 User variable not parsed as geometry variable in geometry function 2024-01-16 18:53:23 +04:00
binlog_grant.test MDEV-29668 SUPER should not allow actions that have fine-grained dedicated privileges 2023-02-06 14:31:48 +01:00
binlog_gtid_delete_domain_debug.test MDEV-12012/MDEV-11969 Can't remove GTIDs for a stale GTID Domain ID 2017-11-15 22:26:32 +02:00
binlog_gtid_index.test MDEV-33145 Add FLUSH GLOBAL STATUS 2024-05-27 12:39:03 +02:00
binlog_gtid_index_crash.opt MDEV-4991: GTID binlog indexing 2024-01-27 12:09:54 +01:00
binlog_gtid_index_crash.test MDEV-4991: GTID binlog indexing 2024-01-27 12:09:54 +01:00
binlog_implicit_commit.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_incident.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_index-master.opt mtr: aix - stack-trace is optional 2021-07-22 15:22:47 +10:00
binlog_index.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_innodb.opt Updated mtr files to support different compiled in options 2019-09-01 19:17:35 +03:00
binlog_innodb.test MDEV-33145 Add FLUSH GLOBAL STATUS 2024-05-27 12:39:03 +02:00
binlog_innodb_row.test Bug#12346411 SQL/LOG.CC:6509: ASSERTION `PREPARED_XIDS > 0' FAILED 2011-05-12 14:56:00 +02:00
binlog_innodb_stm.test MDEV-35081 - Assertion `!n_mysql_tables_in_use' failed after error upon binary logging of DML involving vector table 2025-02-03 19:41:33 +01:00
binlog_invalid_read_in_rotate.combinations After-merge fix: Actually apply the changes 2020-01-08 17:09:31 +05:30
binlog_invalid_read_in_rotate.test After-merge fix: Actually apply the changes 2020-01-08 17:09:31 +05:30
binlog_ioerr.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_killed.test MDEV-31273: Precompute binlog checksums 2023-10-27 19:57:43 +02:00
binlog_killed_simulate-master.opt MDEV-32104 remove deprecated features 2023-09-30 14:43:12 +02:00
binlog_killed_simulate.test cleanup: binlog.binlog_killed_simulate 2016-12-29 13:23:42 +01:00
binlog_max_binlog_stmt_cache_size.opt MDEV-4774 Strangeness with max_binlog_stmt_cache_size Settings 2017-01-20 21:33:36 +05:30
binlog_max_binlog_stmt_cache_size.test Mdev-4774- Fix tests cases 2017-01-31 10:12:22 +05:30
binlog_max_extension.test MDEV-23511 shutdown_server 10 times out, causing server kill at shutdown 2020-08-21 14:48:53 +03:00
binlog_mdev342-master.opt mtr: aix - stack-trace is optional 2021-07-22 15:22:47 +10:00
binlog_mdev342.test MDEV-515 Reduce InnoDB undo logging for insert into empty table 2021-01-25 18:41:27 +02:00
binlog_mdev717.test skip debug_sync test in release builds 2016-05-05 12:35:12 +02:00
binlog_mdev25611.test Fix binlog.binlog_mdev25611 test failure on non-debug build 2024-10-02 09:59:53 +02:00
binlog_mix1_drop_tmp_tbl.test MDEV-36099 Ensure that creation and usage of temporary tables in replication is predictable 2025-03-18 18:27:27 +01:00
binlog_mix2_drop_tmp_tbl.test MDEV-36099 Ensure that creation and usage of temporary tables in replication is predictable 2025-03-18 18:27:27 +01:00
binlog_mixed.test BINLOG with LOCK TABLES and SAVEPOINT could cause a crash in debug bin 2020-06-14 19:39:43 +03:00
binlog_mixed_cache_stat.opt Updated mtr files to support different compiled in options 2019-09-01 19:17:35 +03:00
binlog_mixed_cache_stat.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_mixed_load_data.test Bug mysqlbinlog leaves tmpfile after termination if binlog contains load data infile 2010-08-03 10:22:19 +08:00
binlog_mysqlbinlog-cp932-master.opt BUG#14659685 - main.mysqlbinlog_row_myisam and 2012-10-30 10:40:07 +05:30
binlog_mysqlbinlog-cp932.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_mysqlbinlog2-master.opt mysql-5.1.67 merge 2013-01-09 23:51:51 +01:00
binlog_mysqlbinlog2.test Revert "MDEV-7850: Extend GTID Binlog Events with Thread Id" 2024-02-05 05:56:53 -07:00
binlog_mysqlbinlog_base64.test BUG#14659685 - main.mysqlbinlog_row_myisam and 2012-10-30 10:40:07 +05:30
binlog_mysqlbinlog_do_server_ids.test MDEV-20119: Implement the --do-domain-ids, --ignore-domain-ids, and --ignore-server-ids options for mysqlbinlog 2022-04-19 11:09:24 -06:00
binlog_mysqlbinlog_glle_ordered.test MDEV-4989: Support for GTID in mysqlbinlog 2022-01-31 09:30:23 -07:00
binlog_mysqlbinlog_gtid_strict_mode.test MDEV-4989: Support for GTID in mysqlbinlog 2022-01-26 14:17:21 -07:00
binlog_mysqlbinlog_gtid_window.test MDEV-4989: Support for GTID in mysqlbinlog 2022-01-26 14:17:21 -07:00
binlog_mysqlbinlog_raw_flush.test Merge remote-tracking branch '11.3' into 11.4 2023-12-21 15:40:55 +01:00
binlog_mysqlbinlog_row-master.opt mysql-5.1.67 merge 2013-01-09 23:51:51 +01:00
binlog_mysqlbinlog_row.test MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
binlog_mysqlbinlog_row_frag.test MDEV-31005: Make working cursor-protocol 2024-09-18 18:39:26 +07:00
binlog_mysqlbinlog_row_innodb-master.opt mysql-5.1.67 merge 2013-01-09 23:51:51 +01:00
binlog_mysqlbinlog_row_innodb.test MDEV-4750 follow-up: Reduce disabling innodb_stats_persistent 2021-08-31 13:55:02 +03:00
binlog_mysqlbinlog_row_myisam-master.opt mysql-5.1.67 merge 2013-01-09 23:51:51 +01:00
binlog_mysqlbinlog_row_myisam.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_mysqlbinlog_row_trans-master.opt mysql-5.1.67 merge 2013-01-09 23:51:51 +01:00
binlog_mysqlbinlog_row_trans.test Merge 10.5 into 10.6 2023-03-22 15:54:45 +02:00
binlog_mysqlbinlog_start_alter_verbose.test MDEV-11675. Convert the new session var to bool type and test changes 2022-01-31 22:57:39 +02:00
binlog_mysqlbinlog_stop_never.test test fixes for FreeBSD 2022-05-04 19:34:20 +02:00
binlog_mysqlbinlog_suppress_O_TMPFILE.test MDEV-23846: O_TMPFILE error in mysqlbinlog stream output breaks restore 2020-11-23 12:16:45 +05:30
binlog_mysqlbinlog_warn_stop_datetime.inc MDEV-35528: mariadb-binlog cannot process more than 1 logfiles when --stop-datetime is specified 2025-01-12 11:03:10 -07:00
binlog_mysqlbinlog_warn_stop_datetime.test MDEV-35528: mariadb-binlog cannot process more than 1 logfiles when --stop-datetime is specified 2025-01-12 11:03:10 -07:00
binlog_mysqlbinlog_warn_stop_position.inc MDEV-35528: mariadb-binlog cannot process more than 1 logfiles when --stop-datetime is specified 2025-01-12 11:03:10 -07:00
binlog_mysqlbinlog_warn_stop_position.test MDEV-35528: mariadb-binlog cannot process more than 1 logfiles when --stop-datetime is specified 2025-01-12 11:03:10 -07:00
binlog_no_uniqfile_crash.test MDEV-22451: SIGSEGV in __memmove_avx_unaligned_erms/memcpy from _my_b_write on CREATE after RESET MASTER 2020-05-20 21:02:39 +05:30
binlog_parallel_replication_ddl.test MDEV-27365 CREATE-or-REPLACE SEQUENCE is binlogged without DDL flag 2022-01-03 17:39:23 +02:00
binlog_parallel_replication_marks_mix.test MDEV-36099 Ensure that creation and usage of temporary tables in replication is predictable 2025-03-18 18:27:27 +01:00
binlog_parallel_replication_marks_row.test MDEV-8075: DROP TEMPORARY TABLE not marked as ddl, causing optimistic parallel replication to fail 2017-07-03 11:16:13 +03:00
binlog_parallel_replication_marks_stm.test MDEV-36099 Ensure that creation and usage of temporary tables in replication is predictable 2025-03-18 18:27:27 +01:00
binlog_query_filter_rules-master.opt BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
binlog_query_filter_rules.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
binlog_recover_async_rollback_trx.test MDEV-33853 Async rollback prepared transactions during binlog 2024-09-05 21:19:25 +03:00
binlog_recover_checksum_error.test MDEV-34435 Increase code coverage for debug_dbug test case during startup 2024-06-21 17:24:29 +05:30
binlog_rotate_perf.test MDEV-16944 Fix file sharing issues on Windows in mysqltest 2024-04-17 16:52:37 +02:00
binlog_row_annotate-master.opt Merge Percona patch MWL#47 into mariadb 5.2-percona. 2011-01-10 14:53:09 +01:00
binlog_row_annotate.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_row_binlog-master.opt MDEV-7635: Additional test fixes 2017-02-10 06:30:42 -05:00
binlog_row_binlog.test MDEV-8334: Rename utf8 to utf8mb3 2021-05-19 06:48:36 +02:00
binlog_row_cache_stat.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_row_ctype_cp932.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_row_ctype_ucs.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_row_drop_tbl.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_row_drop_tmp_tbl.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_row_img.test MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
binlog_row_innodb_stat-master.opt WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_row_insert_select.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_row_mix_innodb_myisam-master.opt merge. 2010-11-25 18:17:28 +01:00
binlog_row_mix_innodb_myisam.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_row_mysqlbinlog_db_filter.test Tests: many if/while expresissons simplified after 57276 2010-11-17 11:16:13 +01:00
binlog_row_mysqlbinlog_options-master.opt Fix bad 5.1->5.2 merge: timezone must now be set explicitly for test cases that depend on it. 2010-02-01 20:05:19 +01:00
binlog_row_mysqlbinlog_options.test Merge 10.10 into 10.11 2023-03-29 16:53:37 +03:00
binlog_row_mysqlbinlog_verbose.test MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
binlog_server_id.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
binlog_sf.test enable partition_open_files_limit test 2021-12-09 16:29:22 +01:00
binlog_show_binlog_event_random_pos.combinations After-merge fix: Actually apply the changes 2020-01-08 17:09:31 +05:30
binlog_show_binlog_event_random_pos.test MDEV-21839: Handle crazy offset to SHOW BINLOG EVENTS 2020-09-16 14:03:32 +05:30
binlog_show_binlog_events_invalid_offset_silent.test MDEV-32628: Cryptic ERROR message & inconsistent behavior on incorrect SHOW BINLOG EVENTS FROM ... 2023-11-17 09:43:56 -08:00
binlog_spurious_ddl_errors.test MDEV-33658 1/2 Refactoring: extract Key length initialization 2025-01-26 16:15:46 +01:00
binlog_sql_mode.test Bug#12601974 - STORED PROCEDURE SQL_MODE=NO_BACKSLASH_ESCAPES IGNORED AND BREAKS REPLICATION 2012-02-29 12:23:15 +05:30
binlog_start_comment.test Merge 5.0 -> 5.1 2008-09-30 15:32:35 -04:00
binlog_statement_insert_delayed.test Merge 10.2 into 10.3 2021-04-21 07:25:48 +03:00
binlog_stm_binlog-master.opt remove few obscure, unused, or misused mtr features 2012-02-06 18:42:18 +01:00
binlog_stm_binlog.test MDEV-25292 Atomic CREATE OR REPLACE TABLE 2025-03-18 18:28:16 +01:00
binlog_stm_blackhole.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_stm_cache_stat.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_stm_ctype_cp932.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_stm_ctype_ucs.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_stm_datetime_ranges_mdev15289.test MDEV 28970: Add RESET MASTER to clear possible remaining binlog from previous test 2022-11-09 16:34:55 +00:00
binlog_stm_do_db-master.opt remove few obscure, unused, or misused mtr features 2012-02-06 18:42:18 +01:00
binlog_stm_do_db.test MDEV-21921 Make transaction_isolation and transaction_read_only into system variables 2023-04-12 11:04:29 +10:00
binlog_stm_drop_tbl.test MDEV-36099 Ensure that creation and usage of temporary tables in replication is predictable 2025-03-18 18:27:27 +01:00
binlog_stm_drop_tmp_tbl.test MDEV-36099 Ensure that creation and usage of temporary tables in replication is predictable 2025-03-18 18:27:27 +01:00
binlog_stm_innodb_stat-master.opt WL#3933 Split main test suite to rpl, rpl_ndb and ndb 2007-06-27 14:28:02 +02:00
binlog_stm_insert_select.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_stm_mix_innodb_myisam-master.opt merge. 2010-11-25 18:17:28 +01:00
binlog_stm_mix_innodb_myisam.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_stm_mysqlbinlog_collate_implicit.test MDEV-30164 System variable for default collations 2023-07-17 14:56:17 +04:00
binlog_stm_ps.test MDEV-14467 Item_param: replace {INT|DECIMAL|REAL|STRING|TIME}_VALUE with Type_handler 2017-11-29 10:03:51 +04:00
binlog_stm_row.test MDEV-31003: Second execution for ps-protocol 2023-07-26 17:15:00 +07:00
binlog_stm_sp.test MDEV-16020 SP variables inside GROUP BY..WITH ROLLUP break replication 2018-04-27 22:11:18 +04:00
binlog_stm_sp_type_row.test MDEV-12291 Allow ROW variables as SELECT INTO targets 2017-04-05 15:03:00 +04:00
binlog_stm_unsafe_warning-master.opt Added --log-basename to mysqld to allow one to set the prefix for all logs with one command 2011-03-23 17:59:41 +02:00
binlog_stm_unsafe_warning.test MDEV-24617 OPTIMIZE on a sequence causes unexpected ER_BINLOG_UNSAFE_STATEMENT 2022-03-10 13:38:07 +02:00
binlog_stm_user_variables.test MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
binlog_switch_inside_trans.test Bug USING SET GLOBAL SQL_LOG_BIN SHOULD NOT BE ALLOWED 2014-09-24 09:44:48 +08:00
binlog_table_map_optional_metadata.test MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
binlog_table_map_optional_metadata_binary.test MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
binlog_table_map_optional_metadata_ucs2.test MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
binlog_table_map_optional_metadata_utf32.test MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
binlog_tmp_table.test MDEV-25292 Atomic CREATE OR REPLACE TABLE 2025-03-18 18:28:16 +01:00
binlog_tmp_table_row.test MDEV-9266 Creating index on temporaray table breaks replication 2018-07-18 17:13:24 +05:30
binlog_trigger.test Ensure that one can drop a trigger with an orphan .TRN file 2021-05-19 22:54:13 +02:00
binlog_truncate_active_log.inc MDEV-33465: an option to enable semisync recovery 2024-07-05 19:53:57 -06:00
binlog_truncate_active_log.test MDEV-33465: an option to enable semisync recovery 2024-07-05 19:53:57 -06:00
binlog_truncate_innodb.test Merge branch '10.2' into 10.3 2020-12-23 19:28:02 +01:00
binlog_truncate_kill.test MDEV-6720 - enable connection log in mysqltest by default 2016-03-31 10:11:16 +04:00
binlog_truncate_multi_engine.inc MDEV-28777 binlog.binlog_truncate_multi_engine failed in bb with Lost connection 2023-04-17 20:07:37 +03:00
binlog_truncate_multi_engine.opt MDEV-21117: refine the server binlog-based recovery for semisync 2021-06-11 19:49:39 +03:00
binlog_truncate_multi_engine.test Merge remote-tracking branch 'origin/10.11' into 11.1 2024-07-09 10:45:47 +04:00
binlog_truncate_multi_log.test MDEV-33465: an option to enable semisync recovery 2024-07-05 19:53:57 -06:00
binlog_truncate_multi_log_unsafe.test MDEV-33465: an option to enable semisync recovery 2024-07-05 19:53:57 -06:00
binlog_truncate_myisam.test Move mysql-test-run/extra/binlog to suite/binlog/include 2018-03-29 13:59:44 +03:00
binlog_unsafe-master.opt post-merge fixes. 2011-07-02 22:12:12 +02:00
binlog_unsafe.test MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
binlog_variables_log_bin-master.opt MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_variables_log_bin.test Updated mtr files to support different compiled in options 2019-09-01 19:17:35 +03:00
binlog_variables_log_bin_index-master.opt MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_variables_log_bin_index.test MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_variables_relay_log-master.opt MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_variables_relay_log.test Updated mtr files to support different compiled in options 2019-09-01 19:17:35 +03:00
binlog_variables_relay_log_index-master.opt MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_variables_relay_log_index.test MDEV-7110 : Add missing MySQL variable log_bin_basename and log_bin_index 2015-06-09 13:38:29 -04:00
binlog_verbose_compressed_fields.test MDEV-25277: mysqlbinlog --verbose cannot read row events with compressed columns: Don't know how to handle column type: 140 2023-01-11 10:37:49 -07:00
binlog_write_error.test MDEV-25292 Atomic CREATE OR REPLACE TABLE 2025-03-18 18:28:16 +01:00
binlog_write_error_tmp.test MDEV-25292 Atomic CREATE OR REPLACE TABLE 2025-03-18 18:28:16 +01:00
binlog_xa_checkpoint.test MDEV-742 XA PREPAREd transaction survive disconnect/server restart 2020-03-14 22:45:48 +02:00
binlog_xa_handling.test MDEV-27536 incremental commit to correct regression test. 2022-01-27 13:44:39 +02:00
binlog_xa_prepared.inc MDEV-515 Reduce InnoDB undo logging for insert into empty table 2021-01-25 18:41:27 +02:00
binlog_xa_prepared_disconnect.test MDEV-742 XA PREPAREd transaction survive disconnect/server restart 2020-03-14 22:45:48 +02:00
binlog_xa_recover.opt mtr: aix - stack-trace is optional 2021-07-22 15:22:47 +10:00
binlog_xa_recover.test Add missing have_perfschema.inc 2021-03-30 16:14:19 +03:00
binlog_xa_recover_using_new_server_id.test MDEV-27342: Fix issue of recovery failure using new server id 2022-03-14 19:57:10 -07:00
flashback-largebinlog.test Extend have_sanitizer with ASAN+UBSAN and MSAN 2022-02-23 15:48:08 +02:00
flashback-master.opt [MDEV-10570] Add Flashback support 2017-01-20 15:33:28 +02:00
flashback.combinations MDEV-32894 mysqlbinlog flashback support binlog_row_image FULL_NODUP mode 2024-01-18 12:26:21 +00:00
flashback.test MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
foreign_key.test Clean up and speed up interfaces for binary row logging 2020-03-24 21:00:03 +02:00
innodb_autoinc_lock_mode_binlog.opt MDEV-19577 Replication does not work with innodb_autoinc_lock_mode=2 2022-03-10 15:38:43 +03:00
innodb_autoinc_lock_mode_binlog.test MDEV 28970: Add RESET MASTER to clear possible remaining binlog from previous test 2022-11-09 16:34:55 +00:00
innodb_rc_insert_before_delete.test Merge branch '10.5' into 10.6 2023-01-31 09:31:42 +01:00
load_data_stm_view.test Cleanups 2017-12-08 11:38:22 +02:00
max_binlog_total_size-master.opt MDEV-31404 Implement binlog_space_limit 2024-02-14 15:02:21 +01:00
max_binlog_total_size.test MDEV-31404 Implement binlog_space_limit 2024-02-14 15:02:21 +01:00
mysqladmin.test MDEV-12612 mysqladmin --local flush... to use FLUSH LOCAL 2017-05-24 11:59:04 +02:00
read_only.inc MDEV-5215 prerequisite: remove test and test_* database hacks in the test suite 2022-11-01 16:33:00 +01:00
read_only.test Fixes for binary logging --read-only mode 2019-10-20 11:52:29 +03:00
read_only_statement.test Fixes for binary logging --read-only mode 2019-10-20 11:52:29 +03:00
show_concurrent_rotate.test MDEV-20215: binlog.show_concurrent_rotate failed in buildbot with wrong result 2021-08-13 10:53:19 -06:00
start_alter_mysqlbinlog_replay.test MDEV-11675. Convert the new session var to bool type and test changes 2022-01-31 22:57:39 +02:00
temptable_uservar_disconnect-7938.test MDEV-7938 MariaDB Crashes Suddenly while writing binlogs 2015-04-27 15:42:12 +02:00
type_datetime_func_current_timestamp.test MDEV-15751 CURRENT_TIMESTAMP should return a TIMESTAMP [WITH TIME ZONE?] 2024-10-19 22:48:23 +02:00
type_timestamp_func_current_timestamp.test MDEV-15751 CURRENT_TIMESTAMP should return a TIMESTAMP [WITH TIME ZONE?] 2024-10-19 22:48:23 +02:00