summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorGleb Shchepa <gshchepa@mysql.com>2010-03-05 23:45:55 +0400
committerGleb Shchepa <gshchepa@mysql.com>2010-03-05 23:45:55 +0400
commit897863813e458d2b6acdaa4dee8619a7e11a8968 (patch)
tree2ab378271247dc2fea2d46d81d4d2bb6d20d507a /libmysql
parentfd7bf5bcf7d4a53b5ae6e9df1dda8274a9f4c1ef (diff)
downloadmariadb-git-897863813e458d2b6acdaa4dee8619a7e11a8968.tar.gz
Bug #39653: find_shortest_key in sql_select.cc does not
consider clustered primary keys Choosing a shortest index for the covering index scan, the optimizer ignored the fact, that the clustered primary key read involves whole table data. The find_shortest_key function has been modified to take into account that fact that a clustered PK has a longest key of possible covering indices.
Diffstat (limited to 'libmysql')
0 files changed, 0 insertions, 0 deletions