From acfd0ff7de3ca8abb5722bbcf0235967a8a200fe Mon Sep 17 00:00:00 2001 From: Mats Kindahl Date: Fri, 3 Oct 2008 12:52:01 +0200 Subject: [PATCH] The test rpl_blackhole was executed even when there were no blackhole installed. This patch adds a check for that. mysql-test/suite/rpl/t/rpl_blackhole.test: Adding include of have_blackhole. --- mysql-test/suite/rpl/t/rpl_blackhole.test | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mysql-test/suite/rpl/t/rpl_blackhole.test b/mysql-test/suite/rpl/t/rpl_blackhole.test index 0609a4c6048..e8dfbd51552 100644 --- a/mysql-test/suite/rpl/t/rpl_blackhole.test +++ b/mysql-test/suite/rpl/t/rpl_blackhole.test @@ -1,5 +1,3 @@ ---source include/master-slave.inc - # PURPOSE. Test that blackhole works with replication in all three # modes: STATEMENT, MIXED, and ROW. # @@ -17,6 +15,9 @@ # primary key lookup), and index/key with multiple matches (forcing an # index search). +source include/master-slave.inc; +source include/have_blackhole.inc; + # We start with no primary key CREATE TABLE t1 (a INT, b INT, c INT); CREATE TABLE t2 (a INT, b INT, c INT);