• Daniel Black's avatar
    MDEV-20939: Race condition between mysqldump import and InnoDB persistent · c58d2c94
    Daniel Black authored
    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.
    c58d2c94
mysqldump.c 210 KB