~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2008-11-24 05:39:31 UTC
  • mto: This revision was merged to the branch mainline in revision 610.
  • Revision ID: mordred@solanthus.local-20081124053931-tzlxsgkdvs3b7n8n
Reverted libuuid check code. 

Show diffs side-by-side

added added

removed removed

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