Bug #22027 CREATE TABLE IF NOT EXISTS SELECT logged improperly with row-based binlog

results of binlog_stm_binlog in sync
parent 4e14e0a3
...@@ -159,9 +159,8 @@ create table t1 (a int); ...@@ -159,9 +159,8 @@ create table t1 (a int);
create table if not exists t2 select * from t1; create table if not exists t2 select * from t1;
create temporary table tt1 (a int); create temporary table tt1 (a int);
create table if not exists t3 like tt1; create table if not exists t3 like tt1;
show binlog events; show binlog events from 102;
Log_name Pos Event_type Server_id End_log_pos Info Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Format_desc 1 # Server ver: 5.1.12-beta-debug-log, Binlog ver: 4
master-bin.000001 # Query 1 # use `test`; create table t1 (id tinyint auto_increment primary key) master-bin.000001 # Query 1 # use `test`; create table t1 (id tinyint auto_increment primary key)
master-bin.000001 # Intvar 1 # INSERT_ID=127 master-bin.000001 # Intvar 1 # INSERT_ID=127
master-bin.000001 # Query 1 # use `test`; insert into t1 values(null) master-bin.000001 # Query 1 # use `test`; insert into t1 values(null)
......
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