[MDEV-32930] mysqlbinlog --verbose shows incorrect values for timestamps >= 2^31 if binlog was created with mysql56_temporal_format=off Created: 2023-12-01 Updated: 2024-01-13 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients |
| Affects Version/s: | N/A |
| Fix Version/s: | 11.4 |
| Type: | Bug | Priority: | Major |
| Reporter: | Elena Stepanova | Assignee: | Michael Widenius |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
|
| Comments |
| Comment by Elena Stepanova [ 2023-12-01 ] |
|
I'm not setting it as a feature blocker, because mysqlbinlog doesn't work correctly with mysql56_temporal_format=off anyway (e.g. MDEV-32929). |
| Comment by Michael Widenius [ 2023-12-19 ] |
|
The problem here is similar to other cases with binary logging that we do not send the slave the environment in which the table was created, like engine, mysql56_temporal_format and other parameters that affects create table and alter table. |
| Comment by Michael Widenius [ 2023-12-20 ] |
|
Two ways to fix it independent of MDEV-14760: 1) Store things in the binary log always in 'mysql56_temporal_format' and ensure that if the slave has this off, it will do the conversion. |