[MDEV-9637] select nullif(count(col1),0) gives wrong result if in a view Created: 2016-02-25 Updated: 2016-03-07 Resolved: 2016-03-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer, Views |
| Affects Version/s: | 10.1.12 |
| Fix Version/s: | 10.1.13 |
| Type: | Bug | Priority: | Critical |
| Reporter: | sippanson bernt | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 3 |
| Labels: | None | ||
| Environment: |
openbsd, windows |
||
| Description |
|
This is related to
returns 3 creating a view with the same query and it returns 5.
then
|