[MDEV-27324] Close-to-zero timestamps are converted into zero upon aggregation Created: 2021-12-20 Updated: 2023-03-03 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Temporal Types |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.7 |
| Fix Version/s: | 10.4, 10.5, 10.6 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Elena Stepanova | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
The block below actually contains two test cases, with different engines and somewhat different queries. Choose whichever is more representative, or both. For nearly-zero timestamps (1970-01-01 00:00:00 with milliseconds), certain queries return 0000-00-00 instead.
Reproducible on 10.4+, with at least InnoDB and MyISAM, but it depends on the query/data. |