[MDEV-8601] Wrong result: special IS NULL logic for 0000-00-00 does not work with merge views and FROM SQ with derived_merge Created: 2015-08-11 Updated: 2022-11-25 Resolved: 2022-11-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 5.3.12, 5.5, 10.0, 10.1 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | upstream | ||
| Description |
|
MySQL has special logic for IS NULL operator with 0000-00-00 dates:
However, it does not work with MERGE views (and derived_merge in 5.7).
|
| Comments |
| Comment by Alice Sherepa [ 2022-11-24 ] |
|
works correctly on the current 10.3-10.10 (10.3 f4a1298f245f678badc8a5b5) |