1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-20 10:24:14 +03:00

MDEV-20939: Race condition between mysqldump import and InnoDB persistent

statistics calculation

mysqldump --system=stats and --system=timezones by default used
ordinary INSERT statements populate EITS, innodb stats, and timezone tables.

As these all have primary keys it could result in conflict.

The behavior desired with --system= is to replace the tables.
As such we assume --replace for the purposes of stats and timezone tables
there if --insert-ignore isn't specified.
This commit is contained in:
Daniel Black
2021-01-22 16:03:07 +11:00
parent 1a99958545
commit c58d2c941c
2 changed files with 18 additions and 12 deletions

File diff suppressed because one or more lines are too long