Commit aca18bf1 authored by unknown's avatar unknown

BUG#20863 (if binlog format is changed between update and unlock of table, wrong binlog):

Post-merge fixes.


mysql-test/r/rpl_switch_stm_row_mixed.result:
  Result change
mysql-test/t/rpl_switch_stm_row_mixed.test:
  Fixing test
parent 84ba160c
...@@ -464,12 +464,15 @@ if ($you_want_to_test_UDF) ...@@ -464,12 +464,15 @@ if ($you_want_to_test_UDF)
select count(*) from t9; select count(*) from t9;
} }
sync_slave_with_master;
# #
# Bug#20863 If binlog format is changed between update and unlock of # Bug#20863 If binlog format is changed between update and unlock of
# tables, wrong binlog # tables, wrong binlog
# #
connection master; connection master;
DROP TABLE IF EXISTS t11;
SET SESSION BINLOG_FORMAT=STATEMENT; SET SESSION BINLOG_FORMAT=STATEMENT;
CREATE TABLE t11 (song VARCHAR(255)); CREATE TABLE t11 (song VARCHAR(255));
LOCK TABLES t11 WRITE; LOCK TABLES t11 WRITE;
...@@ -485,6 +488,7 @@ USE mysqltest1; ...@@ -485,6 +488,7 @@ USE mysqltest1;
--query_vertical SELECT * FROM t11 --query_vertical SELECT * FROM t11
connection master; connection master;
DROP TABLE IF EXISTS t12;
SET SESSION BINLOG_FORMAT=MIXED; SET SESSION BINLOG_FORMAT=MIXED;
CREATE TABLE t12 (data LONG); CREATE TABLE t12 (data LONG);
LOCK TABLES t12 WRITE; LOCK TABLES t12 WRITE;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment