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

Allocate buf_pool statically

    XMLWordPrintable

    Details

      Description

      Thanks to MDEV-15058, there is only one InnoDB buffer pool. Allocating buf_pool statically removes one level of pointer indirection and makes code more readable, and removes the awkward initialization of some buf_pool members.

      While doing this, we can also declare some buf_pool_t data members private and replace some functions with member functions.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: