diff options
author | Oleksandr Byelkin <sanja@mariadb.com> | 2020-12-24 22:15:40 +0100 |
---|---|---|
committer | Oleksandr Byelkin <sanja@mariadb.com> | 2020-12-24 22:15:40 +0100 |
commit | 1e9af7996e7f84934da8241b61f349b2626f7cf5 (patch) | |
tree | e81f75ae73bb81c7eca508a2f02433f624acde6f | |
parent | 8d8370e31d48e0bc6139c18770746f9959c21598 (diff) | |
download | mariadb-git-1e9af7996e7f84934da8241b61f349b2626f7cf5.tar.gz |
Fix MDEV-21958 code to be working with not 64 MAX_INDEXES
-rw-r--r-- | sql/opt_range.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 27ea4a83714..1b4f20bc39c 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -7171,7 +7171,7 @@ SEL_TREE *Item_func_in::get_func_mm_tree(RANGE_OPT_PARAM *param, { key_map::Iterator it(field->key_start); 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]; if (key_info->user_defined_key_parts == 1 && |