• Marko Mäkelä's avatar
    MDEV-22770 trx_undo_report_rename() fails to release page latches · 804761a8
    Marko Mäkelä authored
    commit f74023b9 (MDEV-15090)
    inadvertently removed a mtr_t::commit() call from
    trx_undo_report_rename(), causing an InnoDB hang if
    we failed to log a RENAME operation.
    
    It is unclear whether this condition is possible in practice.
    The test case involved SET GLOBAL innodb_trx_rseg_n_slots_debug=1
    and a failed CREATE TABLE...SELECT, whose error handling would
    internally invoke RENAME in InnoDB.
    804761a8
trx0rec.cc 68.1 KB