1
# Test for BUG#8436: verify that a multi-query (i.e. one query
2
# containing several queries (assuming client has
3
# CLIENT_MULTI_STATEMENTS) will be binlogged ONE-query-per-event (not
4
# one binlog event containing all queries)
7
# PS doesn't support multi-statements
9
-- source include/master-slave.inc
11
drop database if exists mysqltest;
13
create database mysqltest;
16
create table mysqltest.t1 ( n int);
17
insert into mysqltest.t1 values(1)/
18
insert into mysqltest.t1 values(2);
19
insert into mysqltest.t1 values(3);
20
insert into mysqltest.t1 values(4);
21
insert into mysqltest.t1 values(5)/
23
sync_slave_with_master;
24
select * from mysqltest.t1;
26
source include/show_binlog_events.inc;
27
drop database mysqltest;
28
sync_slave_with_master;