summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-07-25 12:08:50 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2019-07-25 12:14:27 +0300
commitb6ac67389dfed3255004b82d29625577c3335a0a (patch)
treeca6d71736e041ee0f8db949f2609a395b9e724c7 /mysql-test/include
parentee555f8fc5fed02503d45cc4ad0d08b07d5a6355 (diff)
parent8d0dabc56b09c6b40db15aac7da0da43d988759d (diff)
downloadmariadb-git-b6ac67389dfed3255004b82d29625577c3335a0a.tar.gz
Merge 10.1 into 10.2
Diffstat (limited to 'mysql-test/include')
-rw-r--r--mysql-test/include/binlog_parallel_replication_marks.test9
1 files changed, 8 insertions, 1 deletions
diff --git a/mysql-test/include/binlog_parallel_replication_marks.test b/mysql-test/include/binlog_parallel_replication_marks.test
index b915d26ce99..82fa997822d 100644
--- a/mysql-test/include/binlog_parallel_replication_marks.test
+++ b/mysql-test/include/binlog_parallel_replication_marks.test
@@ -49,9 +49,16 @@ connection default;
# We need to wait for the implicit DROP TEMPORARY TABLE to be logged after
# tmp_con disconnect, otherwise we get sporadic test failures.
+# MDEV-20091: DROP TEMPORARY TABLE IF EXISTS statements will be written to
+# binlog only if the corresponding temporary table exists. In row based
+# replication temporary tables are not replicated hence their corresponding
+# DROP TEMPORARY TABLE statement will be not be written to binary log upon
+# session closure.
+
+if (!`SELECT @@BINLOG_FORMAT = 'ROW'`) {
--let $wait_condition= SELECT variable_value > $before_drop_pos FROM information_schema.global_status WHERE variable_name = 'binlog_snapshot_position'
--source include/wait_condition.inc
-
+}
--let $binlog_pos2=query_get_value(SHOW MASTER STATUS, Position, 1)
--let $binlog_file= query_get_value(SHOW MASTER STATUS, File, 1)