mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
01c2de4077
BitKeeper/deleted/.del-binlog_start_comment.test: Delete: mysql-test/t/binlog_start_comment.test BitKeeper/deleted/.del-binlog_start_comment.result: Delete: mysql-test/r/binlog_start_comment.result mysql-test/suite/binlog/t/binlog_unsafe.test: Rename: mysql-test/t/binlog_unsafe.test -> mysql-test/suite/binlog/t/binlog_unsafe.test mysql-test/suite/binlog/r/binlog_unsafe.result: Rename: mysql-test/r/binlog_unsafe.result -> mysql-test/suite/binlog/r/binlog_unsafe.result mysql-test/suite/rpl/r/rpl_row_tabledefs_3innodb.result: Result change. mysql-test/suite/rpl/r/rpl_timezone.result: Result change. mysql-test/suite/rpl/t/rpl_row_sp005.test: Adding missing sync with master causing test to fail.
18 lines
437 B
Text
18 lines
437 B
Text
# Test to check that a warning is generated for unsafe statements
|
|
# executed under statement mode logging.
|
|
|
|
source include/have_log_bin.inc;
|
|
|
|
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();
|
|
query_vertical SHOW WARNINGS;
|
|
|
|
DROP TABLE t1,t2,t3;
|
|
|
|
|