Commit 885edc4f authored by Sergei Golubchik's avatar Sergei Golubchik

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

parent 622115ee
...@@ -9799,7 +9799,7 @@ bool Item_cache_temporal::get_date(MYSQL_TIME *ltime, ulonglong fuzzydate) ...@@ -9799,7 +9799,7 @@ bool Item_cache_temporal::get_date(MYSQL_TIME *ltime, ulonglong fuzzydate)
if (!has_value()) if (!has_value())
{ {
bzero((char*) ltime,sizeof(*ltime)); bzero((char*) ltime,sizeof(*ltime));
return 1; return null_value= true;
} }
unpack_time(value, ltime); unpack_time(value, ltime);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment