Skip to content

MDEV-35353 set correct number of rows_examined for union all queries #4130

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 10.11
Choose a base branch
from

Conversation

bsrikanth-mariadb
Copy link
Contributor

For all union_all, as well as union queries, number of rows_examined
was tracked and updated correctly. However, they are only being
written to the slow query log in the case of UNION queries, but not
for UNION_ALL queries.

This PR addresses the concern to write rows_examined for UNION_ALL
queries as well to the slow query log.
@bsrikanth-mariadb bsrikanth-mariadb force-pushed the 10.11-MDEV-35353-incorrect-rows-examined-for-union-all branch 3 times, most recently from d02d01e to af7785f Compare June 20, 2025 11:19
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.

1 participant