diff options
Diffstat (limited to 'mysql-test/r/join_outer_jcl6.result')
-rw-r--r-- | mysql-test/r/join_outer_jcl6.result | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mysql-test/r/join_outer_jcl6.result b/mysql-test/r/join_outer_jcl6.result index ef749768d4c..bb670daee40 100644 --- a/mysql-test/r/join_outer_jcl6.result +++ b/mysql-test/r/join_outer_jcl6.result @@ -2155,7 +2155,10 @@ drop table t0, t1; # (this is a regression after fix for MDEV-4817) # CREATE TABLE t1 (id INT, d DATE NOT NULL); -INSERT INTO t1 VALUES (1,'0000-00-00'),(2,'0000-00-00'); +INSERT IGNORE INTO t1 VALUES (1,'0000-00-00'),(2,'0000-00-00'); +Warnings: +Warning 1264 Out of range value for column 'd' at row 1 +Warning 1264 Out of range value for column 'd' at row 2 CREATE TABLE t2 (i INT); SELECT * FROM t1 LEFT JOIN t2 ON (id=i) WHERE NULL OR d IS NULL; id d i @@ -2163,7 +2166,9 @@ id d i 2 0000-00-00 NULL DROP TABLE t1,t2; CREATE TABLE t1 (i1 INT, d1 DATE NOT NULL); -INSERT INTO t1 VALUES (1,'2012-12-21'),(2,'0000-00-00'); +INSERT IGNORE INTO t1 VALUES (1,'2012-12-21'),(2,'0000-00-00'); +Warnings: +Warning 1264 Out of range value for column 'd1' at row 2 CREATE TABLE t2 (i2 INT, j2 INT); INSERT INTO t2 VALUES (1,10),(2,20); SELECT * FROM t1 LEFT JOIN t2 ON i1 = j2 WHERE d1 IS NULL AND 1 OR i1 = i2; |