• Vladislav Vaintroub's avatar
    MDEV-14975 mariabackup starts with unprivileged user. · 5716c71c
    Vladislav Vaintroub authored
    ported privilege checking from xtrabackup.
    Now, mariabackup would terminate early if either RELOAD or PROCESS privilege
    is not held, not at the very end of backup
    
    The behavior can be disabled with nre setting --check-privileges=0.
    Also , --no-lock does not need all of these privileges, since it skips
    FTWRL and SHOW ENGINE STATUS INNODB.
    5716c71c
xtrabackup.cc 180 KB