[MDEV-2796] LP:730133 - Wrong result with jkl = 7, BKA, ICP in maria-5.3 + compound index Created: 2011-03-06 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: | Philip Stoev (Inactive) | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The following query returns less rows when executed with JKL, BKA and ICP v.s. any other plan. Repeatable in maria-5.3 and maria-5.3-mwl128 EXPLAIN: id select_type table type possible_keys key key_len ref rows Extra bzr version-info: revision-id: <email address hidden> test case: SET SESSION optimizer_use_mrr = 'force'; --let $query = SELECT COUNT(alias2.f2) FROM t1 STRAIGHT_JOIN ( t1 AS alias2 FORCE KEY (f4) JOIN t1 AS alias3 ON alias3.f5 = alias2.f4 ) ON alias3.f1 < alias2.f3 ; SET SESSION optimizer_switch = 'join_cache_hashed=off,join_cache_bka=on,index_condition_pushdown=on'; |
| Comments |
| Comment by Sergei Petrunia [ 2011-06-15 ] |
|
Re: Wrong result with jkl = 7, BKA, ICP in maria-5.3 + compound index |
| Comment by Sergei Petrunia [ 2011-09-10 ] |
|
Re: Wrong result with jkl = 7, BKA, ICP in maria-5.3 + compound index set optimizer_switch='optimize_join_buffer_size=on'; (the default for the flag was changed to OFF in revno:3111) |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 730133 |