Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.5, 10.6, 10.11, 10.4(EOL), 10.7(EOL), 10.8(EOL), 10.9(EOL), 10.10(EOL), 11.0(EOL)
Description
The function trx_purge_add_undo_to_history(), which is called after each transaction commit or rollback that had modified persistent tables, is not optimal. It calls trx_undo_set_state_at_finish() in a different compilation unit and evaluates a condition on undo->state several times. We could get a small performance improvement by simplifying this.