[MDEV-16684] Wrong timestamps on restore from mysqldump --compact Created: 2018-07-04 Updated: 2021-02-28 Resolved: 2019-09-20 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Scripts & Clients, Time zones |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2, 10.3 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Aleksey Midenkov | Assignee: | Aleksey Midenkov |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | need_feedback | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
| Comments |
| Comment by Aleksey Midenkov [ 2018-07-11 ] | |||||||||
|
main.mysqldump, main.mysqldump-no-binlog fail on Windows:
| |||||||||
| Comment by Aleksey Midenkov [ 2018-07-13 ] | |||||||||
|
main.mysqldump-no-binlog failure is caused by | |||||||||
| Comment by Sergei Golubchik [ 2018-07-17 ] | |||||||||
|
I'm not sure I agree it's a bug. SET time_zone is disabled by --compact apparently quite intentionally. So is SET NAMES, that is if you change the server's character set, the dump in --compact will not corrupt the data just the same. I guess you need this fix to use mysqldump in tests with timestamps and without comments (to have a stable output). Perhaps you should use --skip-comments instead of --compact ? | |||||||||
| Comment by Aleksey Midenkov [ 2021-02-28 ] | |||||||||
|
I'm disabling dump history for --compact mode then. |