diff options
author | Gleb Shchepa <gshchepa@mysql.com> | 2010-03-05 23:45:55 +0400 |
---|---|---|
committer | Gleb Shchepa <gshchepa@mysql.com> | 2010-03-05 23:45:55 +0400 |
commit | 897863813e458d2b6acdaa4dee8619a7e11a8968 (patch) | |
tree | 2ab378271247dc2fea2d46d81d4d2bb6d20d507a /libmysql | |
parent | fd7bf5bcf7d4a53b5ae6e9df1dda8274a9f4c1ef (diff) | |
download | mariadb-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