diff options
author | Gleb Shchepa <gshchepa@mysql.com> | 2009-04-28 05:19:13 +0500 |
---|---|---|
committer | Gleb Shchepa <gshchepa@mysql.com> | 2009-04-28 05:19:13 +0500 |
commit | fa01a4ed26a0851157690ca1b422481d8e817908 (patch) | |
tree | c349900b74ab8eb5bf4cda529dfa3b8b933ebd7e /server-tools | |
parent | 3df4ad8a5d5452d9a62027c7fbe82ba1875a93c5 (diff) | |
download | mariadb-git-fa01a4ed26a0851157690ca1b422481d8e817908.tar.gz |
backport from 6.0:
Bug #40925: Equality propagation takes non indexed attribute
Query execution plans and execution time of queries like
select a, b, c from t1
where a > '2008-11-21' and b = a limit 10
depended on the order of equality operator parameters:
"b = a" and "a = b" are not same.
An equality propagation algorithm has been fixed:
the substitute_for_best_equal_field function should not
substitute a field for an equal field if both fields belong
to the same table.
Diffstat (limited to 'server-tools')
0 files changed, 0 insertions, 0 deletions