Commit db984067 authored by Sergey Petrunya's avatar Sergey Petrunya

Fix buildbot failure in fix of BUG#723822

parent 71371a9d
......@@ -11864,7 +11864,7 @@ get_constant_key_infix(KEY *index_info, SEL_ARG *index_range_tree,
if (cur_range->field->eq(cur_part->field))
break;
}
if (!cur_range)
if (!cur_range || cur_range->type != SEL_ARG::KEY_RANGE)
{
if (min_max_arg_part)
return FALSE; /* The current keypart has no range predicates at all. */
......
......@@ -3871,7 +3871,8 @@ bool bka_skip_index_tuple(range_seq_t rseq, char *range_info)
{
DBUG_ENTER("bka_skip_index_tuple");
JOIN_CACHE_BKA *cache= (JOIN_CACHE_BKA *) rseq;
DBUG_RETURN(cache->skip_index_tuple(range_info));
bool res= cache->skip_index_tuple(range_info);
DBUG_RETURN(res);
}
......
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