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

plugin dependencies in metadata

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Major
    • Resolution: Unresolved
    • None
    • Packaging, Plugins
    • None

    Description

      add inter-plugin dependencies to package metadata

      example: uuid function plugin needs uuid datatype plugin. If hypothetically the latter would've been in a separate package, the former would need to tell that to the package manager.

      It's easy:

      MYSQL_ADD_PLUGIN(func_uuid
                       plugin.cc item_uuidfunc.cc common.cc
                       RECOMPILE_FOR_EMBEDDED MODULE_ONLY
                       PLUGIN_DEPENDS type_uuid)
      

      (PLUGIN_DEPENDS not DEPENDS because the latter is for cmake build-link-time dependencies).

      For this to work, server package has to provide MariaDB-plugin-type_uud.

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.