~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/user_var-binlog.test

Renamed strings to mystrings, for include/lib naming consistency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Requires statement logging
2
 
# TODO: Create row based version once $DRIZZLE_BINLOG has new RB version
3
 
 
4
 
# Check that user variables are binlogged correctly (BUG#3875)
5
 
create table t1 (a varchar(50));
6
 
reset master;
7
 
SET TIMESTAMP=10000;
8
 
SET @`a b`='hello';
9
 
INSERT INTO t1 VALUES(@`a b`);
10
 
set @var1= "';aaa";
11
 
SET @var2=char(ascii('a'));
12
 
insert into t1 values (@var1),(@var2);
13
 
source include/show_binlog_events.inc;
14
 
 
15
 
# more important than SHOW BINLOG EVENTS, mysqlbinlog (where we
16
 
# absolutely need variables names to be quoted and strings to be
17
 
# escaped).
18
 
--replace_result $DRIZZLE_TEST_DIR DRIZZLE_TEST_DIR
19
 
flush logs;
20
 
--exec $DRIZZLE_BINLOG --short-form $MYSQLTEST_VARDIR/log/master-bin.000001 
21
 
drop table t1;
22
 
 
23
 
# End of 4.1 tests