Skip to content
Permalink
Browse files
bugfix: Item_cache_temporal::get_date() didn't set null_value
this is a 10.3 version of 885edc4
  • Loading branch information
vuvova committed Mar 30, 2018
1 parent 7a90378 commit 7601331
Showing 1 changed file with 1 addition and 1 deletion.
@@ -10125,7 +10125,7 @@ bool Item_cache_temporal::get_date(MYSQL_TIME *ltime, ulonglong fuzzydate)
if (!has_value())
{
bzero((char*) ltime,sizeof(*ltime));
return true;
return (null_value= true);
}

unpack_time(value, ltime, mysql_timestamp_type());

0 comments on commit 7601331

Please sign in to comment.