diff options
Diffstat (limited to 'mysql-test/main/adddate_454.result')
-rw-r--r-- | mysql-test/main/adddate_454.result | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/main/adddate_454.result b/mysql-test/main/adddate_454.result new file mode 100644 index 00000000..85129212 --- /dev/null +++ b/mysql-test/main/adddate_454.result @@ -0,0 +1,12 @@ +create table t1 (d date); +insert into t1 values ('2012-00-00'); +select * from t1; +d +2012-00-00 +update ignore t1 set d = adddate(d, interval 1 day); +Warnings: +Warning 1292 Incorrect datetime value: '2012-00-00' +select * from t1; +d +NULL +drop table t1; |