[MDEV-8754] Wrong result for SELECT..WHERE year_field=2020 AND NULLIF(year_field,2010)='2020' Created: 2015-09-05 Updated: 2015-09-12 Resolved: 2015-09-10 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | 10.1.6 |
| Fix Version/s: | 10.1.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | propagation, upstream-not-affected | ||
| Issue Links: |
|
||||||||||||
| Description |
|
The first and the second SELECT queries correctly return one row, and third SELECT query erroneously returns emptu set. |