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

Pull off 64k size limit of Extra2 segment in FRM file

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Fix Version/s: 10.10
    • Component/s: Server
    • Labels:
      None

      Description

      Extra2 segment size is stored as 2-byte in 3 places:

      1. by offset 4 in FRM header;
      2. by offset 6 in FRM header as position to key information (disk_buff);
      3. in the beginning of Extra2 segment.

      disk_buff is at 2 bytes address stored in 2.
      forminfo is at 4 bytes address stored after extra2
      strpos is at forminfo + FRM_FORMINFO_SIZE + "length of all screens"
      recpos is at 3 bytes address stored in strpos + 5

      So after "disk_buff" there can be Extra3 segment as next segment "forminfo" is addressed by 4 bytes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              midenok Aleksey Midenkov
              Reporter:
              midenok Aleksey Midenkov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Git Integration

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