mirror of
https://github.com/MariaDB/server.git
synced 2025-12-06 05:42:06 +03:00
bugfix: Item_cache_temporal::get_date() didn't set null_value
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user