BUG#58985: Assertion tab->quick->index != 64 failed in
make_join_select() in sql_select.cc Caused by incorrect ASSERT introduced by BUG#58456. Quick selects may have index == MAX_KEY if it merges indices.
This commit is contained in:
parent
59fdd56dd1
commit
f7dc30c843
@ -6504,7 +6504,6 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond)
|
||||
((tab->type != JT_CONST && tab->type != JT_REF) ||
|
||||
(uint)tab->ref.key == tab->quick->index))
|
||||
{
|
||||
DBUG_ASSERT(tab->quick->index != MAX_KEY);
|
||||
sel->quick=tab->quick; // Use value from get_quick_...
|
||||
sel->quick_keys.clear_all();
|
||||
sel->needed_reg.clear_all();
|
||||
|
Loading…
x
Reference in New Issue
Block a user