diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-04-08 10:36:41 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-04-08 10:36:41 +0300 |
commit | ccc06931c3c7be094f6dcddeb45589f06cf0c8af (patch) | |
tree | acfd8ed3cae2ee65cf6ddca6d96b907ea172d1dd /sql/sql_select.cc | |
parent | 9075973dbf2ef69e95d427e3a979be23435692e3 (diff) | |
parent | 476966b3fb05ce8c061a4b77a0ab0b722bb0d192 (diff) | |
download | mariadb-git-ccc06931c3c7be094f6dcddeb45589f06cf0c8af.tar.gz |
Merge 10.4 into 10.5
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 9f4ddb4f357..129dae9eedb 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -7818,6 +7818,8 @@ best_access_path(JOIN *join, filter->get_cmp_gain(rows); tmp-= filter->get_adjusted_gain(rows) - filter->get_cmp_gain(rows); DBUG_ASSERT(tmp >= 0); + trace_access_idx.add("rowid_filter_key", + s->table->key_info[filter->key_no].name); } } trace_access_idx.add("rows", records).add("cost", tmp); |