[MDEV-2277] LP:664594 - Wrong subquery result with join_cache_level=6, even in .result files Created: 2010-10-21 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Petrunia | Assignee: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
mysql-test/r/subselect3.result shows: explain select t21.* from t21,t22 where t21.a = t22.a and while explain select t21.* from t21,t22 where t21.a = t22.a and That is, the _jcl6 variant produces two records instead of one. |
| Comments |
| Comment by Sergei Petrunia [ 2010-10-21 ] |
|
Re: Wrong subquery result with join_cache_level=6, even in .result files === modified file 'sql/sql_select.cc' /* However, applying this patch to 5.3-main doesn't cause the right query result to be produced. Perhaps, wrong result in 5.3 is due to a different problem then one in mwl128 tree, as MWL#128 tree has a different plan for the query (for an unknown reason). |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 664594 |