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

Remove maria::implicit_commit()

    XMLWordPrintable

Details

    Description

      There are three calls to maria::implicit_commit() to ensure that Aria transactions are committed. These are needed because Aria is not registering it's transactions into the MariaDB transaction system.

      The purpose of this task is have Aria to register it's transactions and remove the calls to maria::implicit_commit(). This will give a small speed improvement when not using Aria tables and make the code more uniform.

      Some consequences of this change are:

      • All usage of Aria system tables (open_system_table_for_read(), using status tables etc) must do proper commits of statement and transaction.
      • We need a new way to start independent transactions when we use system tables or status tables. This should be done in a way to minimize code changes.

      After the above changes is done, it would be relatively easy to add support for other engines to use mysql.* system tables if and when it's needed.

      Attachments

        Issue Links

          Activity

            People

              monty Michael Widenius
              monty Michael Widenius
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.