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

Allocate dict_sys statically

    XMLWordPrintable

Details

    Description

      There is only one InnoDB data dictionary cache. Allocating dict_sys statically removes one level of pointer indirection and makes code more readable. We did something similar to trx_sys, lock_sys and purge_sys in MariaDB 10.3 already.

      While we are at it, we should replace some C-style accessor functions with member functions of dict_sys_t, so that some members of the structure can be declared private.

      Note: dict_sys_t::dict_sys_t() was introduced already in MDEV-17794.

      Attachments

        Issue Links

          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.