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

Refactor TABLE_SHARE::init_from_binary_frm_image

    XMLWordPrintable

Details

    • Task
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      TABLE_SHARE::init_from_binary_frm_image is currently 1.5K lines long. This makes it impossible to navigate through. It is also inconvenient to debug error conditions because of long gotos.

      A stateful Share_frm_creator class could be introduced to work out the decomposition correctly, with respect to proper error handling. It will also ease the abstraction on the frm format.

      Attachments

        Activity

          People

            Unassigned Unassigned
            nikitamalyavin Nikita Malyavin
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.