Skip to content
Permalink
Browse files
MDEV-28970: Add RESET MASTER to clear possible remaining binlog from …
…previous test
  • Loading branch information
mariadb-AngeliqueSklavounos committed Nov 9, 2022
1 parent 3278c57 commit e616c9a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
@@ -1,3 +1,4 @@
RESET MASTER;
CREATE TEMPORARY SEQUENCE seq_1;
XA START '3';
CREATE TEMPORARY TABLE tmp_1(c INT);
@@ -4,7 +4,7 @@
--source include/have_binlog_format_mixed.inc
--source include/have_innodb.inc


RESET MASTER; # clear binlogs
# MDEV-22420 DDL on temporary object is prohibited when XA is in prepare state

# Temporary sequnce may not be created within a transaction
@@ -1,3 +1,4 @@
reset master;
call mtr.add_suppression("Table '.*' is marked as crashed and should be repaired");
call mtr.add_suppression("Checking table: .*");
create table t1 (a int primary key auto_increment, b int) engine=aria transactional= 1;
@@ -3,6 +3,8 @@
# no-protocol doesn't print warnings about repaired tables
--source include/no_protocol.inc

reset master; # clear binlogs

call mtr.add_suppression("Table '.*' is marked as crashed and should be repaired");
call mtr.add_suppression("Checking table: .*");

0 comments on commit e616c9a

Please sign in to comment.