Fix buildbot failure in fix of BUG#723822
This commit is contained in:
parent
71371a9d5e
commit
db984067eb
@ -11864,7 +11864,7 @@ get_constant_key_infix(KEY *index_info, SEL_ARG *index_range_tree,
|
|||||||
if (cur_range->field->eq(cur_part->field))
|
if (cur_range->field->eq(cur_part->field))
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!cur_range)
|
if (!cur_range || cur_range->type != SEL_ARG::KEY_RANGE)
|
||||||
{
|
{
|
||||||
if (min_max_arg_part)
|
if (min_max_arg_part)
|
||||||
return FALSE; /* The current keypart has no range predicates at all. */
|
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");
|
DBUG_ENTER("bka_skip_index_tuple");
|
||||||
JOIN_CACHE_BKA *cache= (JOIN_CACHE_BKA *) rseq;
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user