Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-538

Expand the MODULE_INFO structure

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Do
    • None
    • N/A
    • N/A
    • None

    Description

      Right now the MODULE_INFO struct is not mandatory for a module and is declared as a static variable which is loaded based on its actual name. This means that a module who declares a static MODULE_INFO struct with the name mod_info will not implement it even though it might seem like it does.

      The suggested way to improve this is to remove the version entry point from all interfaces and replace it with a new one which returns the address of the MODULE_INFO struct. The version string can be moved into the MODULE_INFO struct and expansions to the MODULE_INFO can be done without expanding the module interface.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              markus makela markus makela
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.