[MDEV-2360] LP:877288 - Wrong result with semijoin + materialization + multipart key Created: 2011-10-18 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: SELECT * FROM t1 returns
------
when executed with semijoin+materialization and
------
when executed otherwise (which seems to be the correct result). Offending explain:
minimal switch: semijoin=on,materialization=on bzr version-info test case: CREATE TABLE t1 ( a int) ; CREATE TABLE t2 ( b int NOT NULL , c int NOT NULL , KEY (b,c)) ; CREATE TABLE t3 ( a int, d int) ; SET SESSION optimizer_switch='semijoin=ON,materialization=ON'; |
| Comments |
| Comment by Sergei Petrunia [ 2011-10-25 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Re: Wrong result with semijoin + materialization + multipart key
---
--- | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Petrunia [ 2011-10-25 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Re: Wrong result with semijoin + materialization + multipart key | ||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Launchpad bug id: 877288 |