[MDEV-2866] LP:887479 - Wrong result with firstmatch=off , ORDER BY , join_cache_level = 3, innodb Created: 2011-11-08 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: | Igor Babaev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The following query: SELECT * returns when executed with firstmatch=off and a b for all other execution plans. EXPLAIN: id select_type table type possible_keys key key_len ref rows Extra minimal switch: semijoin=on,firstmatch=off ; join_cache_level=3..8 bzr version-info: revision-id: <email address hidden> test case: --source include/have_innodb.inc CREATE TABLE t1 (a int NOT NULL , b int) ENGINE=InnoDB; CREATE TABLE t2 (c int, KEY (c)) ENGINE=InnoDB; SET SESSION join_cache_level=3; SELECT * |
| Comments |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 887479 |