• Marko Mäkelä's avatar
    MDEV-24811 Assertion find(table) failed with innodb_evict_tables_on_commit_debug · 5bd994b0
    Marko Mäkelä authored
    This is a backport of commit 18535a40
    from 10.6.
    
    lock_release(): Implement innodb_evict_tables_on_commit_debug.
    Before releasing any locks, collect the identifiers of tables to
    be evicted. After releasing all locks, look up for the tables and
    evict them if it is safe to do so.
    
    trx_commit_in_memory(): Invoke trx_update_mod_tables_timestamp()
    before lock_release(), so that our locks will protect the tables
    from being evicted.
    5bd994b0
trx0trx.cc 64.3 KB