• Marko Mäkelä's avatar
    MDEV-30233 DROP DATABASE test fails: Directory not empty · c562ccf7
    Marko Mäkelä authored
    Some tests drop the default mtr database "test". This may fail due
    to the directory not being empty. InnoDB may not delete all tables
    immediately, due to the "background drop table queue" or its
    replacement in commit 1bd681c8
    (the purge of history would clean up after a DDL operation during
    which the server was killed).
    
    Let us try to avoid "drop database test" whenever it is easily possible.
    Where it is not, SET GLOBAL innodb_max_purge_lag_wait=0 will ensure
    that the replacement of the "background drop table queue" will have
    completed its job.
    c562ccf7
innodb_charset.test 870 Bytes