[MDEV-17817] Regression: new warning in FROM_UNIXTIME(2147483648) Created: 2018-11-23 Updated: 2018-11-23 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data types |
| Affects Version/s: | 10.4 |
| Fix Version/s: | 10.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
In 10.3, FROM_UNIXTIMESTAMP(value_greater_than_2147483647) returns NULL without a warning:
In 10.4 the same query returns NULL with a new warning:
This change was unintentional. In strict mode in can reject INSERTs which previously inserted NULL silently. We need to decide if it's good or bad and add tests. |