[MDEV-6307] Wrong result for IFNULL(FROM_UNIXTIME(..),0)+0 Created: 2014-06-05 Updated: 2022-12-01 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.3.12, 5.5.37, 10.0.11, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8 |
| Fix Version/s: | 10.1, 10.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Description |
|
returns
The expected result for f2 is 19700101033325 and 19700101033330. The same problem happens with IF:
|
| Comments |
| Comment by Alexander Barkov [ 2014-07-29 ] |
|
The problem is that IFNULL(temporal,int) returns a VARCHAR result. |
| Comment by Alexander Barkov [ 2014-07-29 ] |
|
Removing 5.3 and 5.5 from fixVersion, as agreed with Sergei on IRC. |