[MDEV-3461] LP:886145 - Wrong result with icp , HAVING , ORDER BY in 5.3-icp Created: 2011-11-04 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 t1.b, t1.c returns no rows in 5.3-icp even though there are rows that match the WHERE and HAVING conditions. explain: id select_type table type possible_keys key key_len ref rows Extra bzr version-info minimal switch: index_condition_pushdown=ON test case: --source include/have_innodb.inc CREATE TABLE t2 ( a varchar(1024), KEY (a)) ENGINE=InnoDB; CREATE TABLE t1 ( b int NOT NULL , c int, a varchar(1024), PRIMARY KEY (b)) ENGINE=InnoDB; SET SESSION optimizer_switch='index_condition_pushdown=ON'; SELECT t1.b, t1.c |
| Comments |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 886145 |