• Marko Mäkelä's avatar
    Implement innodb_evict_tables_on_commit_debug · 947b0b57
    Marko Mäkelä authored
    Some bugs are detected only after a table definition has been evicted
    and then reloaded to the InnoDB data dictionary cache.
    
    For debug builds, introduce the settable Boolean configuration parameter
    innodb_evict_tables_on_commit_debug that can be set to request InnoDB
    to attempt to evict table definitions from the data dictionary cache
    whenever a transaction is committed.
    
    This has been tested on 10.3 and 10.4 with the following:
    
    ./mysql-test-run.pl --mysqld=--loose-innodb-evict-tables-on-commit-debug
    
    You can also use the following:
    
    SET GLOBAL innodb_evict_tables_on_commit_debug=ON;
    SET GLOBAL innodb_evict_tables_on_commit_debug=OFF;
    
    The parameter affects the commit (or rollback or abort) of
    transactions that have modified persistent InnoDB tables.
    947b0b57
sysvars_innodb.test 845 Bytes