diff options
author | Alexander Nozdrin <alik@sun.com> | 2010-04-27 13:58:21 +0400 |
---|---|---|
committer | Alexander Nozdrin <alik@sun.com> | 2010-04-27 13:58:21 +0400 |
commit | e642701c325e7b557d1a16d98f110581c26c2f28 (patch) | |
tree | 6fc830df498046ca29b2381fb809726faeb04f52 /mysql-test/t/mysqlbinlog.test | |
parent | a0f8951963443db308d072dbc0794bb93d2fcf45 (diff) | |
parent | b6dcd0ecbee17787297e882ed63cf4e13d981943 (diff) | |
download | mariadb-git-e642701c325e7b557d1a16d98f110581c26c2f28.tar.gz |
Manual merge from mysql-trunk.
Conflicts:
- mysql-test/suite/rpl/r/rpl_stm_mixing_engines.result
Diffstat (limited to 'mysql-test/t/mysqlbinlog.test')
-rw-r--r-- | mysql-test/t/mysqlbinlog.test | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/mysql-test/t/mysqlbinlog.test b/mysql-test/t/mysqlbinlog.test index 0955f216ae1..2bfd5af0fe5 100644 --- a/mysql-test/t/mysqlbinlog.test +++ b/mysql-test/t/mysqlbinlog.test @@ -4,6 +4,10 @@ -- source include/have_log_bin.inc +--disable_query_log +CALL mtr.add_suppression("Unsafe statement binlogged in statement format since BINLOG_FORMAT = STATEMENT"); +--enable_query_log + # Deletes all the binary logs reset master; @@ -141,7 +145,14 @@ EOF # must be digestable for both client and server. In 4.1 the client # should use default-character-set same as the server. flush logs; ---exec $MYSQL_BINLOG --short-form $MYSQLD_DATADIR/master-bin.000004 | $MYSQL +# Due to BUG#18337 that wrongly suppresses the BINLOG EVENTS when +# --short-form is used, the "insert into t5 select * from `äöüÄÖÜ`" +# which is unsafe and thus written to the binary log in the row +# format is not executed. This makes the assertion select * from t5 +# /* must be (1),(1) */; to fail. To temporary fix the bug, we +# removed the option --short-form. +#--exec $MYSQL_BINLOG --short-form $MYSQLD_DATADIR/master-bin.000004 | $MYSQL +--exec $MYSQL_BINLOG $MYSQLD_DATADIR/master-bin.000004 | $MYSQL select * from t5 /* must be (1),(1) */; drop table t5; |