• Jon Olav Hauglid's avatar
    Bug #57663 Concurrent statement using stored function and DROP DATABASE · a84d7503
    Jon Olav Hauglid authored
               breaks SBR
    
    This pre-requisite patch refactors the code for dropping tables, used
    by DROP TABLE and DROP DATABASE. The patch moves the code for acquiring
    metadata locks out of mysql_rm_table_part2() and makes it the
    responsibility of the caller. This in preparation of changing the
    DROP DATABASE implementation to acquire all metadata locks before any
    changes are made. mysql_rm_table_part2() is renamed
    mysql_rm_table_no_locks() to reflect the change.
    a84d7503
partition_debug_sync.result 2.45 KB