1
source include/master-slave.inc;
2
-- source include/have_innodb.inc
3
-- source include/not_embedded.inc
4
-- source include/have_binlog_format_mixed_or_statement.inc
6
let $VERSION=`select version()`;
8
# Bug #21975: grant/revoke statements in transaction
9
# used to disappear from binlog upon rallback.
10
# Now GRANT/REVOKE do implicitly commit
14
drop database if exists d1;
18
create table t (s1 int) engine=innodb;
21
insert into t values (1);
22
grant select on t to x@y;
24
# There is no active transaction here
28
source include/show_binlog_events.inc;
30
insert into t values (2);
31
revoke select on t from x@y;
33
# There is no active transaction here
38
source include/show_binlog_events.inc;