[MDEV-3139] LP:715062 - Wrong result with VIEW + UNION + subquery in maria-5.3-mwl89 Created: 2011-02-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: | Timour Katchaounov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
Using unions inside views inside subqueries causes non-matching rows to be returned in maria-5.3-mwl89. Not repeatable in maria-5.3. SET SESSION optimizer_switch = 'in_to_exists=on,semijoin=off,materialization=on'; In this case, the IN predicate in the WHERE is obviously FALSE, however the 'bug' row is still returned. bzr version-info: revision-id: <email address hidden> |
| Comments |
| Comment by Timour Katchaounov (Inactive) [ 2011-04-04 ] |
|
Re: Wrong result with VIEW + UNION + subquery in maria-5.3-mwl89 revno: 2962 [merge]
|
| Comment by Rasmus Johansson (Inactive) [ 2011-12-13 ] |
|
Launchpad bug id: 715062 |