Skip to content
Permalink
Browse files
MDEV-14320 main.subselect failed in buildbot, results mismatch
There was a problem in the recent patch for MDEV-10817:
get_date() must "return true" on null_value rather than "return 0"

(forgot to fix Item_sum_hybrid::get_date() after copying and pasting
from Item_sum_hybrid::val_str()).
  • Loading branch information
abarkov committed Nov 8, 2017
1 parent 843e450 commit e6ab6c4
Showing 1 changed file with 1 addition and 1 deletion.
@@ -2070,7 +2070,7 @@ Item_sum_hybrid::get_date(MYSQL_TIME *ltime, ulonglong fuzzydate)
{
DBUG_ASSERT(fixed == 1);
if (null_value)
return 0;
return true;
bool retval= value->get_date(ltime, fuzzydate);
if ((null_value= value->null_value))
DBUG_ASSERT(retval == true);

0 comments on commit e6ab6c4

Please sign in to comment.