[MDEV-9302] Different field types for equivalent NULLIF and IF vs CASE with AVG(int_field) and 0e0 arguments Created: 2015-12-18 Updated: 2015-12-18 Resolved: 2015-12-18 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.0, 10.1 |
| Fix Version/s: | 10.0.23 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
This script:
returns
All three columns should be of the same data type. |
| Comments |
| Comment by Alexander Barkov [ 2015-12-18 ] | ||||||||||
|
Oops. There was a mistake in the script.
and it does return an expected result. |