mirror of
https://github.com/MariaDB/server.git
synced 2025-04-18 05:05:32 +02:00
include/master-slave.inc must always be included last
This commit is contained in:
parent
8f3fd98d25
commit
b7434bacbd
75 changed files with 75 additions and 75 deletions
mysql-test
extra/rpl_tests
suite
engines/funcs/t
parts/t
roles
rpl/t
rpl_alter_extra_persistent.testrpl_auto_increment_bug45679.testrpl_begin_commit_rollback.testrpl_blackhole.testrpl_cant_read_event_incident.testrpl_checksum.testrpl_concurrency_error.testrpl_conditional_comments.testrpl_empty_master_host.testrpl_extra_col_master_innodb.testrpl_flush_logs.testrpl_geometry.testrpl_get_master_version_and_clock.testrpl_grant.testrpl_gtid_mdev4484.testrpl_heartbeat_debug.testrpl_incident.testrpl_init_slave_errors.testrpl_innodb_bug68220.testrpl_insert.testrpl_invoked_features.testrpl_loaddata_symlink.testrpl_mariadb_slave_capability.testrpl_mdev-11092.testrpl_mdev8193.testrpl_mixed_binlog_max_cache_size.testrpl_mixed_implicit_commit_binlog.testrpl_mixed_mixing_engines.testrpl_non_direct_mixed_mixing_engines.testrpl_not_null_innodb.testrpl_not_null_myisam.testrpl_packet.testrpl_performance_schema.testrpl_read_only.testrpl_report_port.testrpl_row_binlog_max_cache_size.testrpl_row_colSize.testrpl_row_corruption.testrpl_row_create_table.testrpl_row_find_row.testrpl_row_implicit_commit_binlog.testrpl_row_index_choice.testrpl_row_merge_engine.testrpl_row_rec_comp_innodb.testrpl_row_show_relaylog_events.testrpl_row_tbl_metadata.testrpl_row_trunc_temp.testrpl_row_utf16.testrpl_row_wide_table.testrpl_savepoint.testrpl_server_id_ignore.testrpl_set_null_innodb.testrpl_skip_error.testrpl_skip_incident.testrpl_skip_replication.testrpl_slave_load_remove_tmpfile.testrpl_slave_skip.testrpl_slow_query_log.testrpl_stm_binlog_max_cache_size.testrpl_stm_drop_create_temp_table.testrpl_stm_implicit_commit_binlog.testrpl_stm_loadfile.testrpl_stm_relay_ign_space.testrpl_stm_start_stop_slave.testrpl_stm_user_variables.testrpl_sync.testrpl_temp_table_mix_row.testrpl_temporary_errors.testsec_behind_master-5114.test
t
|
@ -11,8 +11,8 @@
|
|||
# check if START SLAVE, RESET SLAVE, CHANGE MASTER reset Last_slave_error and
|
||||
# Last_slave_errno in SHOW SLAVE STATUS (1st and 3rd commands did not: bug 986)
|
||||
|
||||
-- source include/master-slave.inc
|
||||
source include/have_innodb.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
--disable_query_log
|
||||
CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
--echo # Bug#20821: INSERT DELAYED fails to write some rows to binlog
|
||||
--echo #
|
||||
|
||||
--source include/master-slave.inc
|
||||
--source include/not_embedded.inc
|
||||
--source include/not_windows.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--disable_warnings
|
||||
CREATE SCHEMA IF NOT EXISTS mysqlslap;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--source include/have_partition.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/big_test.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--vertical_results
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_mixed.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--enable_connect_log
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--enable_connect_log
|
||||
--connection master
|
||||
|
|
|
@ -5,9 +5,9 @@
|
|||
# is replication unsafe.
|
||||
#
|
||||
|
||||
source include/master-slave.inc;
|
||||
source include/have_binlog_format_mixed.inc;
|
||||
source include/have_innodb.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
call mtr.add_suppression('Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT.');
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
source include/master-slave.inc;
|
||||
source include/have_innodb.inc;
|
||||
source include/have_binlog_format_statement.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
connection slave;
|
||||
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
# primary key lookup), and index/key with multiple matches (forcing an
|
||||
# index search).
|
||||
|
||||
source include/master-slave.inc;
|
||||
source include/have_blackhole.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
||||
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
# and replication is started from it.
|
||||
#
|
||||
|
||||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_mixed.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--connection slave
|
||||
# Make sure the slave is stopped while we are messing with master.
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# WL2540 replication events checksum
|
||||
# Testing configuration parameters
|
||||
|
||||
--source include/master-slave.inc
|
||||
--source include/have_debug.inc
|
||||
--source include/have_binlog_format_mixed.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
call mtr.add_suppression('Slave can not handle replication events with the checksum that master is configured to log');
|
||||
call mtr.add_suppression('Replication event checksum verification failed');
|
||||
|
|
|
@ -17,9 +17,9 @@
|
|||
# log, the error is ignored and only the non-transactional tables are changed.
|
||||
###############################################################################
|
||||
|
||||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/have_binlog_format_statement.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
# will be binlogged as
|
||||
# 'INSERT INTO t1 VALUES (1) /*!10000, (2)*/ /* 99999 ,(3)*/'.
|
||||
###############################################################################
|
||||
source include/master-slave.inc;
|
||||
source include/have_binlog_format_statement.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
CREATE TABLE t1(c1 INT);
|
||||
source include/show_binlog_events.inc;
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
# along the way if error/no error is thrown and/or if replication starts
|
||||
# working when expected.
|
||||
|
||||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_mixed.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
connection slave;
|
||||
STOP SLAVE;
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
# Purpose: To test having extra columns on the master WL#3915
|
||||
#############################################################
|
||||
-- source include/have_binlog_format_row.inc
|
||||
-- source include/master-slave.inc
|
||||
-- source include/have_innodb.inc
|
||||
-- source include/master-slave.inc
|
||||
|
||||
let $engine_type = 'InnoDB';
|
||||
--source extra/rpl_tests/rpl_extra_col_master.test
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
# works fine.
|
||||
#
|
||||
|
||||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_statement.inc
|
||||
--source include/master-slave.inc
|
||||
connection master;
|
||||
|
||||
# Test 'flush error logs' statement.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
source include/master-slave.inc;
|
||||
source include/have_binlog_format_row.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
#
|
||||
# Bug#48776, Bug#43784
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
# Finish the following tests by calling its common test script:
|
||||
# extra/rpl_tests/rpl_get_master_version_and_clock.test.
|
||||
|
||||
source include/master-slave.inc;
|
||||
source include/have_debug.inc;
|
||||
source include/have_debug_sync.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
#
|
||||
# The test is not supposed to have any binglog affairs.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Tests of grants and users
|
||||
|
||||
source include/master-slave.inc;
|
||||
source include/not_embedded.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
--echo **** On Master ****
|
||||
connection master;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/have_debug.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
CREATE TABLE t1 (i int) ENGINE=InnoDB;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Testing master to slave heartbeat protocol, test cases that need debug build.
|
||||
|
||||
--source include/master-slave.inc
|
||||
--source include/have_debug.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
connection slave;
|
||||
--source include/stop_slave.inc
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--source include/master-slave.inc
|
||||
--source include/have_debug.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--echo **** On Master ****
|
||||
CREATE TABLE t1 (a INT);
|
||||
|
|
|
@ -29,8 +29,8 @@
|
|||
# Configuring the Environment
|
||||
######################################################################
|
||||
source include/have_debug.inc;
|
||||
source include/master-slave.inc;
|
||||
source include/have_log_bin.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
connection slave;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
#
|
||||
# Bug#68220: innodb_rows_updated is misleading on slave when *info_repository=TABLE
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
--echo # Bug#20821: INSERT DELAYED fails to write some rows to binlog
|
||||
--echo #
|
||||
|
||||
--source include/master-slave.inc
|
||||
--source include/not_embedded.inc
|
||||
--source include/not_windows.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
disable_query_log;
|
||||
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
# Features for Replication.
|
||||
#########################################
|
||||
|
||||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
disable_query_log;
|
||||
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
# if the path of the load data file is a symbolic link.
|
||||
#
|
||||
--source include/not_windows.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_statement.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
create table t1(a int not null auto_increment, b int, primary key(a) );
|
||||
load data infile '../../std_data/rpl_loaddata.dat' into table t1;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
--source include/master-slave.inc
|
||||
--source include/have_debug.inc
|
||||
--source include/have_debug_sync.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
connection master;
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/not_embedded.inc
|
||||
--source include/not_windows.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
########################################################################################
|
||||
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_statement.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--connection slave
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/not_embedded.inc
|
||||
--source include/not_windows.inc
|
||||
--source include/have_binlog_format_mixed.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--source extra/rpl_tests/rpl_binlog_max_cache_size.test
|
||||
--source include/rpl_end.inc
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
################################################################################
|
||||
--source include/have_udf.inc
|
||||
--source include/have_binlog_format_mixed.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--let $engine=Innodb
|
||||
set session storage_engine=innodb;
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
# tables. For further details, please, read WL#2687 and WL#5072.
|
||||
###################################################################################
|
||||
--source include/have_binlog_format_mixed.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
let $engine_type=Innodb;
|
||||
let $database_name=test;
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
# tables. For further details, please, read WL#2687 and WL#5072.
|
||||
###################################################################################
|
||||
--source include/have_binlog_format_mixed.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--disable_query_log
|
||||
SET SESSION binlog_direct_non_transactional_updates = OFF;
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
# 3 - NULL --> NOT NULL ( sql-mode != STRICT and no failures)
|
||||
#
|
||||
#################################################################################
|
||||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
let $engine=Innodb;
|
||||
--source extra/rpl_tests/rpl_not_null.test
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
# 3 - NULL --> NOT NULL ( sql-mode != STRICT and no failures)
|
||||
#
|
||||
#################################################################################
|
||||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
let $engine=MyISAM;
|
||||
--source extra/rpl_tests/rpl_not_null.test
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
# BUG#55322: SHOW BINLOG EVENTS increases @@SESSION.MAX_ALLOWED_PACKET
|
||||
|
||||
# max-out size db name
|
||||
source include/master-slave.inc;
|
||||
source include/have_binlog_format_row.inc;
|
||||
source include/master-slave.inc;
|
||||
call mtr.add_suppression("Slave I/O: Got a packet bigger than 'slave_max_allowed_packet' bytes, .*error.* 1153");
|
||||
call mtr.add_suppression("Log entry on master is longer than slave_max_allowed_packet");
|
||||
let $db= DB_NAME_OF_MAX_LENGTH_AKA_NAME_LEN_64_BYTES_____________________;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--source include/master-slave.inc
|
||||
--source include/have_perfschema.inc
|
||||
--source include/have_binlog_format_mixed.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
UPDATE performance_schema.setup_instruments SET ENABLED="NO";
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Test case for BUG #11733
|
||||
-- source include/master-slave.inc
|
||||
-- source include/have_innodb.inc
|
||||
-- source include/master-slave.inc
|
||||
|
||||
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
# case on doing SHOW SLAVE HOSTS on the master, we get the actual port number
|
||||
# of the slave (ie. SLAVE_PORT).
|
||||
|
||||
source include/master-slave.inc;
|
||||
source include/have_binlog_format_mixed.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
connection master;
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/not_embedded.inc
|
||||
--source include/not_windows.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--source extra/rpl_tests/rpl_binlog_max_cache_size.test
|
||||
--source include/rpl_end.inc
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
# having columns that are smaller (shorter) than the slave. #
|
||||
##################################################################
|
||||
|
||||
-- source include/master-slave.inc
|
||||
-- source include/have_binlog_format_row.inc
|
||||
-- source include/master-slave.inc
|
||||
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS t1;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#
|
||||
--source include/master-slave.inc
|
||||
--source include/have_debug.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
# BUG#11753004: 44360: REPLICATION FAILED
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Testing table creations for row-based replication.
|
||||
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
connection slave;
|
||||
--source include/have_innodb.inc
|
||||
connection master;
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
# has been fixed.
|
||||
#
|
||||
|
||||
-- source include/master-slave.inc
|
||||
-- source include/have_binlog_format_row.inc
|
||||
-- source include/master-slave.inc
|
||||
|
||||
#
|
||||
# Case #1: master has key, but slave has not.
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
################################################################################
|
||||
--source include/have_udf.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--let $engine=Innodb
|
||||
set session storage_engine=innodb;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_debug.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
# Bug#58997: Row-based replication breaks on table with only fulltext index:
|
||||
connection master;
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
# deletes their contents through the merge table. Finally, the slave
|
||||
# is synchronized with the master and (after the fix) it won't crash.
|
||||
#
|
||||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
--connection master
|
||||
|
||||
CREATE TABLE t1 (a int) ENGINE=MyISAM;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
-- source include/have_binlog_format_row.inc
|
||||
-- source include/master-slave.inc
|
||||
-- source include/have_innodb.inc
|
||||
-- source include/master-slave.inc
|
||||
|
||||
#
|
||||
# BUG#52868 Wrong handling of NULL value during update, replication out of sync
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
# This test issues SHOW [BINLOG|RELAYLOG] EVENTS both on master and slave after
|
||||
# some statements have been issued.
|
||||
|
||||
-- source include/master-slave.inc
|
||||
-- source include/have_binlog_format_row.inc
|
||||
-- source include/master-slave.inc
|
||||
|
||||
-- source extra/rpl_tests/rpl_show_relaylog_events.inc
|
||||
--source include/rpl_end.inc
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
# with mysqlbinlog reporting that it was unable to succeed in
|
||||
# reading the event.
|
||||
|
||||
-- source include/master-slave.inc
|
||||
-- source include/have_innodb.inc
|
||||
-- source include/have_binlog_format_row.inc
|
||||
-- source include/master-slave.inc
|
||||
|
||||
-- disable_warnings
|
||||
DROP TABLE IF EXISTS `t1`;
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
# table was binlogged in RBR.
|
||||
#
|
||||
|
||||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
#This statement is not binlogged in RBR.
|
||||
CREATE TEMPORARY TABLE t1(c1 INTEGER);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
-- source include/master-slave.inc
|
||||
-- source include/have_binlog_format_row.inc
|
||||
-- source include/have_utf16.inc
|
||||
-- source include/master-slave.inc
|
||||
|
||||
#
|
||||
# BUG#51716: Char column with utf16 character set gives wrong padding on slave
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
# in corrupt binlog
|
||||
##################################################################
|
||||
|
||||
-- source include/master-slave.inc
|
||||
-- source include/have_binlog_format_row.inc
|
||||
-- source include/master-slave.inc
|
||||
|
||||
--disable_warnings
|
||||
DROP TABLE IF EXISTS t300;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--echo #
|
||||
--echo # Bug#50124 Rpl failure on DROP table with concurrent txn/non-txn
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
# b. nullifying the list and resuming of taking binlog from the very beginning with
|
||||
# executing events this time
|
||||
|
||||
source include/master-slave.inc;
|
||||
source include/have_binlog_format_mixed.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
connection slave;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
-- source include/have_binlog_format_mixed_or_row.inc
|
||||
-- source include/master-slave.inc
|
||||
-- source include/have_innodb.inc
|
||||
-- source include/master-slave.inc
|
||||
|
||||
-- let $engine= InnoDB
|
||||
-- source extra/rpl_tests/rpl_set_null.test
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
# bug in this test: BUG#30594: rpl.rpl_skip_error is nondeterministic:
|
||||
# BUG#39393: slave-skip-errors does not work when using ROW based replication
|
||||
|
||||
source include/master-slave.inc;
|
||||
source include/have_innodb.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
--echo ==== Test Without sql_mode=strict_trans_tables ====
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--source include/master-slave.inc
|
||||
--source include/have_debug.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--echo **** On Master ****
|
||||
CREATE TABLE t1 (a INT);
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
connection slave;
|
||||
# Test that SUPER is required to change @@replicate_events_marked_for_skip.
|
||||
|
|
|
@ -20,9 +20,9 @@
|
|||
--source include/have_binlog_format_statement.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/have_debug.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/not_embedded.inc
|
||||
--source include/not_var_link.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
##########################################################################
|
||||
# Loading data
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
# test for MIXED mode.
|
||||
source include/have_binlog_format_mixed.inc;
|
||||
|
||||
source include/master-slave.inc;
|
||||
source include/have_innodb.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
--echo **** On Slave ****
|
||||
connection slave;
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
# Note that due to the sleep() command the insert is written to the binary
|
||||
# log in row format.
|
||||
|
||||
source include/master-slave.inc;
|
||||
source include/have_binlog_format_statement.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
CALL mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
||||
call mtr.add_suppression("Slave SQL.*Request to stop slave SQL Thread received while applying a group that has non-transactional changes; waiting for completion of the group");
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/not_embedded.inc
|
||||
--source include/not_windows.inc
|
||||
--source include/have_binlog_format_statement.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--source extra/rpl_tests/rpl_binlog_max_cache_size.test
|
||||
--source include/rpl_end.inc
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
###################################################################################
|
||||
--source include/big_test.inc
|
||||
--source include/have_binlog_format_statement.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--source extra/rpl_tests/rpl_drop_create_temp_table.test
|
||||
--source include/rpl_end.inc
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
################################################################################
|
||||
--source include/have_udf.inc
|
||||
--source include/have_binlog_format_statement.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--let $engine=Innodb
|
||||
set session storage_engine=innodb;
|
||||
|
|
|
@ -13,8 +13,8 @@
|
|||
##########
|
||||
|
||||
# Includes
|
||||
-- source include/master-slave.inc
|
||||
-- source include/have_binlog_format_statement.inc
|
||||
-- source include/master-slave.inc
|
||||
|
||||
disable_query_log;
|
||||
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
||||
|
|
|
@ -19,8 +19,8 @@
|
|||
# IO thread does not do it in an uncontrolled manner.
|
||||
|
||||
--source include/have_binlog_format_statement.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--disable_query_log
|
||||
CREATE TABLE t1 (c1 TEXT) engine=InnoDB;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
################################################################################
|
||||
# Please, check ./extra/rpl_tests/rpl_start_stop_slave.test
|
||||
################################################################################
|
||||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_statement.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
# make innodb updates run fast
|
||||
--connection slave
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
# BUG#49562: SBR out of sync when using numeric data types + user variable
|
||||
#
|
||||
|
||||
-- source include/master-slave.inc
|
||||
-- source include/have_binlog_format_statement.inc
|
||||
-- source include/master-slave.inc
|
||||
|
||||
## Setup user variables for several numeric types, so that we get
|
||||
## coverage on the User_var_log_event different val types
|
||||
|
|
|
@ -26,12 +26,12 @@
|
|||
# Configuring the environment
|
||||
########################################################################################
|
||||
--echo =====Configuring the enviroment=======;
|
||||
--source include/master-slave.inc
|
||||
--source include/not_embedded.inc
|
||||
--source include/not_valgrind.inc
|
||||
--source include/have_debug.inc
|
||||
--source include/have_innodb.inc
|
||||
--source include/not_crashrep.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
call mtr.add_suppression('Attempting backtrace');
|
||||
call mtr.add_suppression("Recovery from master pos .* and file master-bin.000001");
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
# 4: sync to slave and check the number of temp tables on slave.
|
||||
#
|
||||
|
||||
source include/master-slave.inc;
|
||||
source include/have_binlog_format_mixed.inc;
|
||||
source include/have_innodb.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
--echo ==== Initialize ====
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
source include/have_binlog_format_row.inc;
|
||||
source include/master-slave.inc;
|
||||
source include/have_innodb.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
call mtr.add_suppression("Deadlock found");
|
||||
call mtr.add_suppression("Can't find record in 't.'");
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
source include/master-slave.inc;
|
||||
source include/have_binlog_format_statement.inc;
|
||||
source include/master-slave.inc;
|
||||
|
||||
call mtr.add_suppression("Unsafe statement written to the binary log");
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
#
|
||||
|
||||
--source include/have_debug.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/have_xtradb.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--disable_warnings
|
||||
drop table if exists t1;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--source include/have_stat_tables.inc
|
||||
--source include/master-slave.inc
|
||||
--source include/have_binlog_format_row.inc
|
||||
--source include/master-slave.inc
|
||||
|
||||
--echo #
|
||||
--echo # Bug mdev-485: unexpected failure with replication of DROP/ALTER table
|
||||
|
|
Loading…
Add table
Reference in a new issue