[MDEV-13868] cannot insert 1288481126 in a timestamp column in Europe/Moscow Created: 2017-09-22 Updated: 2017-09-22 Resolved: 2017-09-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Time zones |
| Affects Version/s: | 10.2 |
| Fix Version/s: | 10.2.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergei Golubchik | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Description |
|
This used to work in 10.0 and 10.1:
but in 10.2 it returns 1288477526 (one hour earlier). Because both 1288481126 and 1288477526 are written as 2010-10-31 02:25:26 in time zone Europe/Moscow, and intermediate timestamp→datetime→timestamp conversion loses information. |