[MDEV-10182] Bad value when inserting COALESCE(CURRENT_TIMESTAMP) into a DECIMAL column Created: 2016-06-06 Updated: 2018-06-15 Resolved: 2018-06-15 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Temporal Types |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2 |
| Fix Version/s: | 10.3.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
This script:
returns:
This is correct. Now if I do:
it generates a warning on INSERT, and returns:
|
| Comments |
| Comment by Alexander Barkov [ 2018-06-15 ] |
|
The patch for |