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

lp:738067 Crash in get_datetime_value() in 5.1-micro

This commit is contained in:
Sergei Golubchik
2011-03-19 14:54:46 +01:00
parent e79a72a410
commit a67bf98f02
3 changed files with 9 additions and 0 deletions

View File

@ -1536,3 +1536,6 @@ drop table t1;
select day(coalesce(null));
day(coalesce(null))
NULL
select timestamp(greatest('2002-08-20', '0000-00-00 00:00:00'));
timestamp(greatest('2002-08-20', '0000-00-00 00:00:00'))
2002-08-20 00:00:00