• Sergei Glushchenko's avatar
    MDEV-20286 mariabackup fails when innodb_max_dirty_pages_pct contains a... · 6193d0ca
    Sergei Glushchenko authored
    MDEV-20286 mariabackup fails when innodb_max_dirty_pages_pct contains a fraction (is not an integer)
    
    This is a port of the Percona Server commit 5265f42e290573e9591f8ca28ab66afc051f89a3
    
    which is the same as their bug PXB-1807: xtrabackup does not accept fractional values for
    innodb_max_dirty_pages_pct
    
    Problem:
    
    Variable specified as double in MySQL server, but read as long in the
    xtrabackup. This causes xtrabackup to fail at startup when the value
    contains decimal point.
    
    Fix:
    
    Make xtrabackup to interpret the value as double to be compatible with
    server.
    6193d0ca
xtrabackup.cc 206 KB