summaryrefslogtreecommitdiff
path: root/sql/table.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2020-04-02 11:50:47 +0300
committerSergei Petrunia <psergey@askmonty.org>2020-04-02 11:50:47 +0300
commita21900663626647a7b6f4904fa564f05df38ff5f (patch)
treef7eb060b1e191b1ba450681290e362c701d569f0 /sql/table.h
parentbdcecfa22cc2eb255610f5574ff0a91c8d247066 (diff)
downloadmariadb-git-a21900663626647a7b6f4904fa564f05df38ff5f.tar.gz
MDEV-22014: Rowid Filtering is not displayed well in the optimizer trace
- Print the rowid filters that are available for use with each table. - Make print_best_access_for_table() print which filter it has picked. - Make best_access_path() print the filter for considered ref accesses.
Diffstat (limited to 'sql/table.h')
-rw-r--r--sql/table.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h
index cd9eaaf1e76..e9bbd1d6966 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -1566,6 +1566,7 @@ public:
void init_cost_info_for_usable_range_rowid_filters(THD *thd);
void prune_range_rowid_filters();
+ void trace_range_rowid_filters(THD *thd) const;
Range_rowid_filter_cost_info *
best_range_rowid_filter_for_partial_join(uint access_key_no,
double records,