summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_trunc_binlog.test
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2003-10-07 20:41:06 +0200
committerunknown <guilhem@mysql.com>2003-10-07 20:41:06 +0200
commit654d266c8bca6ef770e4a592b32696e920ce0e98 (patch)
tree17c6cd77a146046c662054f955a5e02f2e22aa9c /mysql-test/t/rpl_trunc_binlog.test
parent19e954d2f8ae119cbaf60c2ff74cdff7a35b051a (diff)
downloadmariadb-git-654d266c8bca6ef770e4a592b32696e920ce0e98.tar.gz
Fix for a test failure with the standard (no-BDB) binary:
as the test is meaningful only if the slave supports transactions, we require this. As in 4.0 the slave runs with --skip-innodb, we test for BDB.
Diffstat (limited to 'mysql-test/t/rpl_trunc_binlog.test')
-rw-r--r--mysql-test/t/rpl_trunc_binlog.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/t/rpl_trunc_binlog.test b/mysql-test/t/rpl_trunc_binlog.test
index efdc3012471..11ec0026560 100644
--- a/mysql-test/t/rpl_trunc_binlog.test
+++ b/mysql-test/t/rpl_trunc_binlog.test
@@ -6,6 +6,10 @@
source include/master-slave.inc;
connection slave;
+# If we are not supporting transactions in the slave, the unfinished transaction
+# won't cause any error, so we need to skip the test. In the 4.0 testsuite, the
+# slave always runs without InnoDB, so we check for BDB.
+source include/have_bdb.inc;
stop slave;
connection master;
flush logs;