Browse Source
MDEV-6263: Wrong result when using IN subquery with order by
MDEV-6263: Wrong result when using IN subquery with order by
- When the optimizer chose LooseScan, make_join_readinfo() should use the index that was chosen for LooseScan, and should not try to find a better (shortest) index.pull/73/head
5 changed files with 136 additions and 12 deletions
-
30mysql-test/r/subselect_sj2.result
-
30mysql-test/r/subselect_sj2_jcl6.result
-
30mysql-test/r/subselect_sj2_mat.result
-
29mysql-test/t/subselect_sj2.test
-
29sql/sql_select.cc
Write
Preview
Loading…
Cancel
Save
Reference in new issue