mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fix for bug#15828
problem was not checking 2nd parameter of str_to_date against NULL mysql-test/r/date_formats.result: bk commit
This commit is contained in:
@ -464,3 +464,9 @@ d1 d2
|
||||
02 February
|
||||
01 January
|
||||
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
|
||||
|
Reference in New Issue
Block a user