mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge mysql.com.:/data/BK/mysql-4.1_15828
into mysql.com.:/data/BK/mysql-5.0_15828 mysql-test/r/date_formats.result: Auto merged mysql-test/t/date_formats.test: Auto merged sql/item_timefunc.cc: manually merging fix for bug 15282 - automerge failed as 5.0 was heavely changed step one using local for file item_timefunc
This commit is contained in:
@ -503,3 +503,12 @@ d1 d2
|
|||||||
02 February
|
02 February
|
||||||
01 January
|
01 January
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
select str_to_date( 1, NULL );
|
||||||
|
str_to_date( 1, NULL )
|
||||||
|
NULL
|
||||||
|
select str_to_date( NULL, 1 );
|
||||||
|
str_to_date( NULL, 1 )
|
||||||
|
NULL
|
||||||
|
select str_to_date( 1, IF(1=1,NULL,NULL) );
|
||||||
|
str_to_date( 1, IF(1=1,NULL,NULL) )
|
||||||
|
NULL
|
||||||
|
@ -269,4 +269,11 @@ insert into t1 (f1) values ("2005-01-01");
|
|||||||
insert into t1 (f1) values ("2005-02-01");
|
insert into t1 (f1) values ("2005-02-01");
|
||||||
select date_format(f1, "%m") as d1, date_format(f1, "%M") as d2 from t1 order by date_format(f1, "%M");
|
select date_format(f1, "%m") as d1, date_format(f1, "%M") as d2 from t1 order by date_format(f1, "%M");
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# Bug #15828
|
||||||
|
#
|
||||||
|
select str_to_date( 1, NULL );
|
||||||
|
select str_to_date( NULL, 1 );
|
||||||
|
select str_to_date( 1, IF(1=1,NULL,NULL) );
|
||||||
# End of 4.1 tests
|
# End of 4.1 tests
|
||||||
|
Reference in New Issue
Block a user