1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00
Files
mariadb/mysql-test/main/adddate_454.result
2018-03-29 13:59:44 +03:00

13 lines
250 B
Plaintext

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;