Commit 83aa3cf4 authored by Alexander Nozdrin's avatar Alexander Nozdrin

Post-merge fix (binlog_unsafe).

parent 54666184
...@@ -355,6 +355,7 @@ master-bin.000001 13657 Write_rows 1 13695 table_id: 48 ...@@ -355,6 +355,7 @@ master-bin.000001 13657 Write_rows 1 13695 table_id: 48
master-bin.000001 13695 Write_rows 1 13729 table_id: 47 flags: STMT_END_F master-bin.000001 13695 Write_rows 1 13729 table_id: 47 flags: STMT_END_F
master-bin.000001 13729 Query 1 13798 COMMIT master-bin.000001 13729 Query 1 13798 COMMIT
DROP TABLE t1,t2,t3; DROP TABLE t1,t2,t3;
SET SESSION binlog_format = STATEMENT;
CREATE TABLE t1 (a VARCHAR(1000)); CREATE TABLE t1 (a VARCHAR(1000));
INSERT INTO t1 VALUES (CURRENT_USER()); INSERT INTO t1 VALUES (CURRENT_USER());
Warnings: Warnings:
......
...@@ -434,6 +434,7 @@ SET SESSION binlog_format = STATEMENT; ...@@ -434,6 +434,7 @@ SET SESSION binlog_format = STATEMENT;
CREATE TABLE t1 (a INT); CREATE TABLE t1 (a INT);
CREATE TABLE t2 (a INT, b INT PRIMARY KEY AUTO_INCREMENT); CREATE TABLE t2 (a INT, b INT PRIMARY KEY AUTO_INCREMENT);
CREATE TABLE t3 (a INT, b INT PRIMARY KEY AUTO_INCREMENT); CREATE TABLE t3 (a INT, b INT PRIMARY KEY AUTO_INCREMENT);
# The purpose of this function is to insert into t1 so that the second # The purpose of this function is to insert into t1 so that the second
# column is auto_increment'ed. # column is auto_increment'ed.
delimiter |; delimiter |;
...@@ -463,6 +464,7 @@ DROP TABLE t1,t2,t3; ...@@ -463,6 +464,7 @@ DROP TABLE t1,t2,t3;
# generate a warning. Each INSERT statement below should generate a # generate a warning. Each INSERT statement below should generate a
# warning. # warning.
# #
SET SESSION binlog_format = STATEMENT;
CREATE TABLE t1 (a VARCHAR(1000)); CREATE TABLE t1 (a VARCHAR(1000));
INSERT INTO t1 VALUES (CURRENT_USER()); #marked unsafe before BUG#47995 INSERT INTO t1 VALUES (CURRENT_USER()); #marked unsafe before BUG#47995
......
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