Commit 1e9af799 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

Fix MDEV-21958 code to be working with not 64 MAX_INDEXES

parent 8d8370e3
...@@ -7171,7 +7171,7 @@ SEL_TREE *Item_func_in::get_func_mm_tree(RANGE_OPT_PARAM *param, ...@@ -7171,7 +7171,7 @@ SEL_TREE *Item_func_in::get_func_mm_tree(RANGE_OPT_PARAM *param,
{ {
key_map::Iterator it(field->key_start); key_map::Iterator it(field->key_start);
uint key_no; uint key_no;
while ((key_no= it.next_bit()) != key_map::Iterator::BITMAP_END) while ((key_no= it++) != key_map::Iterator::BITMAP_END)
{ {
KEY *key_info= &field->table->key_info[key_no]; KEY *key_info= &field->table->key_info[key_no];
if (key_info->user_defined_key_parts == 1 && if (key_info->user_defined_key_parts == 1 &&
......
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