mariadb/mysql-test/r/binlog_unsafe.result
gshchepa@devsrv-b.mysql.com ca15f7b190 Many files:
Merge with 5.0-opt.
2007-09-14 17:21:50 +02:00

13 lines
430 B
Text

SET BINLOG_FORMAT=STATEMENT;
CREATE TABLE t1 (a CHAR(40));
CREATE TABLE t2 (a INT AUTO_INCREMENT PRIMARY KEY);
CREATE TABLE t3 (b INT AUTO_INCREMENT PRIMARY KEY);
CREATE VIEW v1(a,b) AS SELECT a,b FROM t2,t3;
INSERT INTO t1 SELECT UUID();
Warnings:
Warning 1591 Statement is not safe to log in statement format.
SHOW WARNINGS;
Level Warning
Code 1591
Message Statement is not safe to log in statement format.
DROP TABLE t1,t2,t3;