1
0
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:
unknown
2006-01-13 14:42:46 +01:00
parent 4e195cbd52
commit 25e32d83d6
3 changed files with 14 additions and 1 deletions

View File

@ -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