diff options
author | unknown <igor@olga.mysql.com> | 2007-01-31 19:31:36 -0800 |
---|---|---|
committer | unknown <igor@olga.mysql.com> | 2007-01-31 19:31:36 -0800 |
commit | c15b2e4152854f48ba3f43ace52103010bca603d (patch) | |
tree | 1e87e4f1fbcf49e9e03fa2d6b7707e213e0d21e4 /sql/sql_delete.cc | |
parent | c118eeae57c16377dba649d484048680c68605b8 (diff) | |
download | mariadb-git-c15b2e4152854f48ba3f43ace52103010bca603d.tar.gz |
Fixed bug #25407.
The bug could cause choosing a sub-optimal execution plan for
a single-table query if a unique index with many null keys were
defined for the table.
It happened because the code of the check_quick_keys function
made an assumption that any key may occur in an unique index
only once. Yet this is not true for keys with nulls that may
have multiple occurrences in the index.
mysql-test/r/null_key.result:
Fixed bug #25407
Adjusted result after the fix.
mysql-test/r/select.result:
Added a test case for bug #25407.
mysql-test/t/select.test:
Added a test case for bug #25407.
Diffstat (limited to 'sql/sql_delete.cc')
0 files changed, 0 insertions, 0 deletions