• Daniel Black's avatar
    MDEV-4875 Can't restore a mysqldump if --add-drop-database meets general_log · 221ced92
    Daniel Black authored
    or slow query log when the log_output=TABLE.
    
    When this happens, we temporary disable by changing log_output until
    we've created the general_log and slow_log tables again.
    
    Move </database> in xml mode until after the transaction_registry.
    
    General_log and slow_log tables where moved to be first to be dumped so
    that the disabling of the general/slow queries is minimal.
    221ced92
mysqldump.test 103 KB