summaryrefslogtreecommitdiff
path: root/sql/sql_select.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-04-08 10:36:41 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-04-08 10:36:41 +0300
commitccc06931c3c7be094f6dcddeb45589f06cf0c8af (patch)
treeacfd8ed3cae2ee65cf6ddca6d96b907ea172d1dd /sql/sql_select.cc
parent9075973dbf2ef69e95d427e3a979be23435692e3 (diff)
parent476966b3fb05ce8c061a4b77a0ab0b722bb0d192 (diff)
downloadmariadb-git-ccc06931c3c7be094f6dcddeb45589f06cf0c8af.tar.gz
Merge 10.4 into 10.5
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r--sql/sql_select.cc2
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);