mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
312ae6ecfc
mysql-test/r/binlog_unsafe.result: Result change mysql-test/r/rpl_loaddata_fatal.result: Result change mysql-test/r/rpl_udf.result: Result change mysql-test/t/binlog_innodb.test: Test requires binary log mysql-test/t/binlog_unsafe.test: Test requires binary log mysql-test/t/multi_update.test: Test requires binary log. Error changed for a statement. mysql-test/t/rpl_row_basic_11bugs.test: Error changed for a statement.
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;
|
|
|
|
|