summaryrefslogtreecommitdiff
path: root/mysql-test/t/mysql_protocols.test
diff options
context:
space:
mode:
authorunknown <timour@askmonty.org>2010-11-02 15:27:01 +0200
committerunknown <timour@askmonty.org>2010-11-02 15:27:01 +0200
commit9f2bddbd80fae92840c2db07b75968e816adc213 (patch)
tree6f8c8212d34142ddbf65e45a8dfdecb3caa77ac5 /mysql-test/t/mysql_protocols.test
parentf670b6d22f55401d4329f9ac9827a5145d1dd667 (diff)
downloadmariadb-git-9f2bddbd80fae92840c2db07b75968e816adc213.tar.gz
Fixed LP BUG#652727 and LP BUG#643424.
The fixes for #643424 was part of the fix for #652727, that's why both fixes are pushed together. - The cause for #643424 was the improper use of get_partial_join_cost(), which assumed that the 'n_tables' parameter was the upper bound for query plan node indexes. Fixed by generalizing get_partial_join_cost() as a method that computes the cost of any partial join. - The cause of #652727 was that JOIN::choose_subquery_plan() incorrectly deleted the contents of the old keyuse array in the cases when an injected plan would not provide more key accesses, and reoptimization was not actually performed.
Diffstat (limited to 'mysql-test/t/mysql_protocols.test')
0 files changed, 0 insertions, 0 deletions