• Sergey Vojtovich's avatar
    MDEV-20867 - Perform careful review of "Server crashes with BACKUP STAGE and... · c5e00fea
    Sergey Vojtovich authored
    MDEV-20867 - Perform careful review of "Server crashes with BACKUP STAGE and FLUSH TABLE table_name"
    
    Reverted original patch (c2e0a0b1).
    
    For consistency with "LOCK TABLE <table_name> READ" and "FLUSH TABLES
    WITH READ LOCK", which are forbidden under "BACKUP STAGE", forbid "FLUSH
    TABLE <table_name> FOR EXPORT" and "FLUSH TABLE <table_name> WITH READ
    LOCK" as well.
    
    It'd allow consistent fixes for problems like MDEV-18643.
    c5e00fea
sql_class.cc 228 KB