# we run first in statement-based then in mixed binlogging

--source include/have_binlog_format_mixed_or_statement.inc
--source include/master-slave.inc
--source include/not_embedded.inc
--source include/not_windows.inc

connection master;
set @old_global_binlog_format = @@global.binlog_format;

let $binlog_format_statement=1;
set @@global.binlog_format = statement;
--source extra/rpl_tests/rpl_insert_delayed.test

let $binlog_format_statement=0;
set @@global.binlog_format = mixed;
--source extra/rpl_tests/rpl_insert_delayed.test

connection master;
set @@global.binlog_format = @old_global_binlog_format;
