• Alexander Barkov's avatar
    A cleanup for MDEV-30968 mariadb-backup does not copy Aria logs if aria_log_dir_path is used · d3e394b3
    Alexander Barkov authored
    Fixing buildbot failures on mariabackup.aria_log_dir_path_rel.
    
    The problem was that directory_exists() was called with the
    relative aria_log_dir_path value, while the current directory
    in mariadb-backup is not necessarily equal to datadir when MTR is running.
    
    Fix:
    
    - Moving building the absolute path un level upper:
      from the function copy_back_aria_logs() to the function copy_back().
    - Passing the built absolute path to both directory_exists() and
      copy_back_aria_logs() as a parameter.
    d3e394b3
backup_copy.cc 59.4 KB