mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
11 lines
269 B
Text
11 lines
269 B
Text
|
create table t1 (a date);
|
||
|
insert t1 values ('2000-01-02'), ('2001-02-03'), ('2002-03-04');
|
||
|
set debug_dbug='d,str_to_datetime_warn';
|
||
|
select * from t1 where a > date_add('2000-01-01', interval 5 day);
|
||
|
a
|
||
|
2001-02-03
|
||
|
2002-03-04
|
||
|
Warnings:
|
||
|
Note 1003 2000-01-01
|
||
|
drop table t1;
|