[MDEV-3886] erroneous implicit "fiels is not null" in left join Created: 2012-11-26 Updated: 2012-11-27 Resolved: 2012-11-27 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.28, 5.3.11 |
| Fix Version/s: | 5.5.28a |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
a query like
is rewritten by the optimizer into
the table t3 is correctly eliminated, but the extended condition does not allow the table t2 to be eliminated too.
on 5.1 and 5.2 the table t2 is not eliminated either, but the condition, as shown by EXPLAIN EXTENDED does not have the new clause. |