Skip to content

Commit 0ffdcf6

Browse files
MDEV 28970: Add RESET MASTER to clear possible remaining binlog from previous test
1 parent 6b91792 commit 0ffdcf6

12 files changed

+12
-6
lines changed

mysql-test/main/mysql_upgrade_view.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
reset master;
12
set sql_log_bin=0;
23
drop table if exists t1,v1,v2,v3,v4,v1badcheck;
34
drop view if exists t1,v1,v2,v3,v4,v1badcheck;

mysql-test/main/mysql_upgrade_view.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
-- source include/have_log_bin.inc
2-
2+
reset master; # clear binlogs
33
set sql_log_bin=0;
44
--disable_warnings
55
drop table if exists t1,v1,v2,v3,v4,v1badcheck;

mysql-test/main/stat_tables_rbr.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
RESET MASTER;
12
#
23
# Bug mdev-463: assertion failure when running ANALYZE with RBR on
34
#

mysql-test/main/stat_tables_rbr.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--source include/have_binlog_format_row.inc
22
--source include/have_innodb.inc
33
--source include/have_partition.inc
4-
4+
RESET MASTER; # clear up binlogs
55
--echo #
66
--echo # Bug mdev-463: assertion failure when running ANALYZE with RBR on
77
--echo #

mysql-test/suite/binlog/r/binlog_stm_binlog.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
reset master;
12
drop table if exists t1;
23
create table t1 (a int, b int) engine=innodb;
34
begin;

mysql-test/suite/binlog/r/binlog_stm_datetime_ranges_mdev15289.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
reset master;
12
include/show_binlog_events.inc
23
Log_name Pos Event_type Server_id End_log_pos Info
34
master-bin.000001 # Gtid # # GTID #-#-#

mysql-test/suite/binlog/r/binlog_stm_do_db.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
RESET MASTER;
12
SET @old_isolation_level= @@session.tx_isolation;
23
SET @@session.tx_isolation= 'READ-COMMITTED';
34
CREATE DATABASE b42829;

mysql-test/suite/binlog/r/innodb_autoinc_lock_mode_binlog.result

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
reset master;
12
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
23
select @@innodb_autoinc_lock_mode;
34
@@innodb_autoinc_lock_mode

mysql-test/suite/binlog/t/binlog_stm_binlog.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
-- source include/have_binlog_format_mixed.inc
33
let collation=utf8_unicode_ci;
44
--source include/have_collation.inc
5-
5+
reset master; # clear up binlogs
66
--disable_warnings
77
drop table if exists t1;
88
--enable_warnings

mysql-test/suite/binlog/t/binlog_stm_datetime_ranges_mdev15289.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
--source include/not_embedded.inc
22
--source include/have_binlog_format_statement.inc
3-
3+
reset master; # clear up binlogs
44
--exec $MYSQL_CLIENT_TEST test_datetime_ranges_mdev15289 > $MYSQLTEST_VARDIR/log/binlog_stm_datetime_ranges_mysql_client_test.out.log 2>&1
55

66
--let $binlog_file = LAST

0 commit comments

Comments
 (0)