bugfix: Item_cache_temporal::get_date() didn't set null_value

This commit is contained in:
Sergei Golubchik 2018-03-12 20:13:55 +01:00
parent 622115ee07
commit 885edc4fa5

View file

@ -9799,7 +9799,7 @@ bool Item_cache_temporal::get_date(MYSQL_TIME *ltime, ulonglong fuzzydate)
if (!has_value())
{
bzero((char*) ltime,sizeof(*ltime));
return 1;
return null_value= true;
}
unpack_time(value, ltime);