• Marko Mäkelä's avatar
    MDEV-25942: Assertion !table.n_waiting_or_granted_auto_inc_locks · 63e9a054
    Marko Mäkelä authored
    trx_t::drop_table(): Remove a bogus debug assertion.
    The current transaction may hold an AUTO_INCREMENT
    lock on the table while
    CREATE TABLE t2 (pk INT AUTO_INCREMENT PRIMARY KEY) ENGINE=InnoDB SELECT...
    is being rolled back due to lock wait timeout.
    Remaining debug assertions will check that only this transaction
    is holding locks on the table, and that one of them is an exclusive lock.
    63e9a054
drop.cc 9.08 KB