1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-19 21:09:40 +03:00
Files
mariadb/mysql-test/t/binlog_unsafe.test
unknown e319a04934 Fixing test case binlog_unsafe.
mysql-test/r/binlog_unsafe.result:
  Result change.
mysql-test/t/binlog_unsafe.test:
  Dropping used tables.
2007-06-01 08:54:47 +02:00

17 lines
403 B
Plaintext

# Test to check that a warning is generated for unsafe statements
# executed under statement mode logging.
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;