Skip to content

Conversation

@mariadb-YuchenPei
Copy link
Contributor

Index merge and rowid filter should not be used together, however, even if index merge is not chosen earlier in best_access_path, it may be chosen again in make_join_select. Therefore this patch ensures that rowid filter is not used when index merge is chosen in make_join_select.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

factor out common index merge checks of quick select types
Index merge and rowid filter should not be used together, however,
even if index merge is not chosen earlier in best_access_path, it may
be chosen again in make_join_select. Therefore this patch ensures that
rowid filter is not used when index merge is chosen in
make_join_select.

Apart from index merge, the only other possible quick select inside
ref_to_range is range, and we disable rowid filter in this situation
too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants