• Vlad Lesin's avatar
    MDEV-18215: mariabackup does not report unknown command line options · 209864c7
    Vlad Lesin authored
    MDEV-21298: mariabackup doesn't read from the [mariadbd] and [mariadbd-X.Y]
    server option groups from configuration files
    MDEV-21301: mariabackup doesn't read [mariadb-backup] option group in
    configuration file
    
    All three issues require to change the same code, that is why their
    fixes are joined in one commit.
    
    The fix is in invoking load_defaults_or_exit() and handle_options() for
    backup-specific groups separately from client-server groups to let the last
    handle_options() call fail on unknown backup-specific options.
    
    The option values from backup-specific groups can overwrite option
    values from client-server groups.
    
    The MTR tests which contained not supported options are also fixed.
    209864c7
apply-log-only.test 656 Bytes