[MDEV-32152] Wrong results near DST for `WHERE indexed_timestamp_column='2010-10-31 02:30:00'` Created: 2023-09-12 Updated: 2023-11-28 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Data types, Temporal Types |
| Affects Version/s: | 10.4, 10.5, 10.6, 10.7, 10.8, 10.9, 10.10, 10.11, 11.0, 11.1, 11.2, 11.3 |
| Fix Version/s: | 10.4, 10.5, 10.6, 10.11, 11.1, 11.2, 11.3 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
Wrong results near DST for `WHERE indexed_timestamp_column='2010-10-31 02:30:00'` I create and populate a table with an indexed TIMESTAMP column, the insert values near DST change (one hour fall back):
Now let's check the values near the DST change
Notice, there are two different UNIX_TIMESTAMP values with equal "YYYY-MM-DD hh:mm:ss" representation. So far so good. Now let's query these values:
Opps. Only one value was found. Looks wrong. Now let's query these values without the index:
Now it looks good, both values where found. |