1
source include/have_log_bin.inc;
2
source include/have_innodb.inc;
4
# It is necessary to reset the master since otherwise the binlog test
5
# might show the wrong binary log. The default for SHOW BINLOG EVENTS
6
# is to show the first binary log, not the current one (which is
7
# actually a better idea).
12
source extra/binlog_tests/binlog_truncate.test;
14
# Under transaction isolation level READ UNCOMMITTED and READ
15
# COMMITTED, InnoDB does not permit statement-based replication of
16
# row-deleting statement. In these cases, TRUNCATE TABLE should still
17
# be replicated as a statement.
19
let $before_truncate = SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
20
source extra/binlog_tests/binlog_truncate.test;
22
let $before_truncate = SET TRANSACTION ISOLATION LEVEL READ COMMITTED;
23
source extra/binlog_tests/binlog_truncate.test;
25
let $before_truncate = SET TRANSACTION ISOLATION LEVEL REPEATABLE READ;
26
source extra/binlog_tests/binlog_truncate.test;
28
let $before_truncate = SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;
29
source extra/binlog_tests/binlog_truncate.test;