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

Introduce a class to store record offsets

    XMLWordPrintable

    Details

      Description

      Now offsets and it's metadata are stored in array of offset_t. First several bytes are used to store lengths of allocated data, length of `rec_t`, a couple of flags and such things.

      The goal of this task is to replace it with a bitfield class with span which will point to either static of dynamic buffer. This will bring more type safety. Ideally we should try to pack this class in 2 bytes, if possible.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kevg Eugene Kosov
              Reporter:
              kevg Eugene Kosov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: