mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
MDEV-22770 trx_undo_report_rename() fails to release page latches
commit f74023b955
(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.
This commit is contained in:
parent
fd2b46d879
commit
804761a844
1 changed files with 1 additions and 2 deletions
|
@ -1934,10 +1934,9 @@ dberr_t trx_undo_report_rename(trx_t* trx, const dict_table_t* table)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
mtr.commit();
|
||||
}
|
||||
|
||||
mtr.commit();
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue