Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-31346

trx_purge_add_undo_to_history() is not optimal

    XMLWordPrintable

Details

    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.

      Attachments

        Activity

          People

            marko Marko Mäkelä
            marko Marko Mäkelä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.