1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed that reading a DATE string of 000000 is interpreted as 0000-00-00 instead of 2000-00-00

This commit is contained in:
monty@narttu.mysql.fi
2003-05-05 14:52:39 +03:00
parent 5f028be2e6
commit 3e1afec671
4 changed files with 27 additions and 140 deletions

View File

@ -0,0 +1,11 @@
#
# Some simple test of load data
#
drop table if exists t1;
create table t1 (a date, b date, c date not null, d date);
load data infile '../../std_data/loaddata1.dat' into table t1 fields terminated by ',';
load data infile '../../std_data/loaddata1.dat' into table t1 fields terminated by ',' IGNORE 2 LINES;
SELECT * from t1;
drop table t1;