[MDEV-16911] Query empty when in subquery field has null Created: 2018-08-07 Updated: 2018-08-29 Resolved: 2018-08-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.3.8 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Aleksey M. | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Ubuntu 18.04 |
||
| Description |
|
Result is empty. Waiting "2018". |
| Comments |
| Comment by Elena Stepanova [ 2018-08-29 ] |
|
Your table a1 has NULL among values, so the last query is effectively SELECT * FROM `a2` WHERE year NOT IN (2014,2015,2016,2017,NULL). |