summaryrefslogtreecommitdiff
path: root/sql/gcalc_slicescan.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2021-10-07 20:15:34 +0300
committerMonty <monty@mariadb.org>2022-11-29 15:40:11 +0200
commit2fb228aae8d46f3b57df8736845cbdaff6907a25 (patch)
tree563f5165142101aadc35087d89dfc98116000fe1 /sql/gcalc_slicescan.cc
parent289bf77ced9c3107abfc2df44c684cd914c82a12 (diff)
downloadmariadb-git-2fb228aae8d46f3b57df8736845cbdaff6907a25.tar.gz
Update matching_candidates_in_table() to treat all conditions similar
Fixed also that the 'with_found_constraint parameter' to matching_candidates_in_table() is as documented: It is now true only if there is a reference to a previous table in the WHERE condition for the current examined table (as it was originally documented) Changes in test results: - Filtered was 25% smaller for some queries (expected). - Some join order changed (probably because the tables had very few rows). - Some more table scans, probably because there would be fewer returned rows. - Some tests exposes a bug that if there is more filtered rows, then the cost for table scan will be higher. This will be fixed in a later commit.
Diffstat (limited to 'sql/gcalc_slicescan.cc')
0 files changed, 0 insertions, 0 deletions