mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
bugfix: Item_cache_temporal::get_date() didn't set null_value
This commit is contained in:
parent
622115ee07
commit
885edc4fa5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue