1
# Requires statement logging
2
-- source include/have_binlog_format_mixed_or_statement.inc
3
# TODO: Create row based version once $MYSQL_BINLOG has new RB version
5
# Check that user variables are binlogged correctly (BUG#3875)
6
create table t1 (a varchar(50));
10
INSERT INTO t1 VALUES(@`a b`);
12
SET @var2=char(ascii('a'));
13
insert into t1 values (@var1),(@var2);
14
source include/show_binlog_events.inc;
16
# more important than SHOW BINLOG EVENTS, mysqlbinlog (where we
17
# absolutely need variables names to be quoted and strings to be
19
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR
21
--exec $MYSQL_BINLOG --short-form $MYSQLTEST_VARDIR/log/master-bin.000001