~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to mysql-test/extra/binlog_tests/ctype_ucs_binlog.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--source include/not_embedded.inc
 
2
--source include/have_ucs2.inc
 
3
--source include/have_log_bin.inc
 
4
 
 
5
#
 
6
# Check correct binlogging of UCS2 user variables (BUG#3875)
 
7
#
 
8
SET TIMESTAMP=10000;
 
9
create table t2 (c char(30)) charset=ucs2;
 
10
set @v=convert('abc' using ucs2);
 
11
reset master;
 
12
insert into t2 values (@v);
 
13
source include/show_binlog_events.inc;
 
14
# more important than SHOW BINLOG EVENTS, mysqlbinlog (where we
 
15
# absolutely need variables names to be quoted and strings to be
 
16
# escaped).
 
17
flush logs;
 
18
--replace_result $MYSQL_TEST_DIR MYSQL_TEST_DIR
 
19
--exec $MYSQL_BINLOG --short-form $MYSQLTEST_VARDIR/log/master-bin.000001 
 
20
drop table t2;
 
21
 
 
22
# End of 4.1 tests