[MDEV-3653] LP:879871 - Wrong result with GROUP BY + multipart key + IS (NOT) NULL + InnoDB + 1-row table + index_condition_pushdown Created: 2011-10-22 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 a FROM t1 WHERE c IS NULL AND d IS NOT NULL GROUP BY 1; returns a row evcen though no row matches the WHERE predicate. Repeatable in maria-5.3. Not repeatable in maria-5.2,mysql-5.5 offending explain from maria 5.3:
correct explain from maria 5.2, mysql 5.5:
test case: DROP TABLE t1; bzr version-info: revision-id: <email address hidden> |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2011-10-26 ] |
|
Re: Wrong result with GROUP BY + multipart key + IS (NOT) NULL + InnoDB + 1-row table |
| Comment by Philip Stoev (Inactive) [ 2011-11-09 ] |
|
Re: Wrong result with GROUP BY + multipart key + IS (NOT) NULL + InnoDB + 1-row table + index_condition_pushdown Full test case: --source include/have_innodb.inc reproducible on 5.3: revision-id: psergey@askmonty.org-20111107123902-xzbzx5y5sdeq4ojh reproducible on 5.3-icp: revision-id: igor@askmonty.org-20111108160448-h2mykla5mhjjdckl |
| Comment by Philip Stoev (Inactive) [ 2011-11-11 ] |
|
Re: Wrong result with GROUP BY + multipart key + IS (NOT) NULL + InnoDB + 1-row table + index_condition_pushdown |
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 879871 |