[MDEV-5137] Left Join Yields All Nulls Instead of Appropriate Matches #2 Created: 2013-10-15 Updated: 2013-10-15 Resolved: 2013-10-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.4, 5.5.33, 5.3.12 |
| Fix Version/s: | 5.5.34, 10.0.6, 5.3.13 |
| Type: | Bug | Priority: | Major |
| Reporter: | Jamie Jackson | Assignee: | Oleksandr Byelkin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | optimizer | ||
| Environment: |
All (Win 7 64-bit; Ubuntu 12.10 64-bit) |
||
| Attachments: |
|
| Description |
|
Querying the attached data with:
For comparison, results from MySQL 5.6.14:
MariaDB 5.5.32 results (incorrect):
Note: Unlike
does not have any affect. |
| Comments |
| Comment by Elena Stepanova [ 2013-10-15 ] |
|
Switching off derived_merge doesn't help here because, unlike in I think there is a good chance it's the same problem as in I've attached the MTR-ish test case. It is the very same data and query that Jamie provided, just put together in a single file with stripped mysqldump comments and other technicalities so that it can be executed by MTR (or by a client, all the same). |
| Comment by Oleksandr Byelkin [ 2013-10-15 ] |
|
I've checked in the current 5.3 it is fixed there by fix of 5107 |