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

ERROR: add plugin in multi types plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not a Bug
    • Affects Version/s: 10.3.14
    • Fix Version/s: N/A
    • Component/s: Plugins
    • Labels:
      None

      Description

      I write a plugin that have two types: MYSQL_STORAGE_ENGINE_PLUGIN and MYSQL_DAEMON_PLUGIN, but Mariadb only add the first type to plugin hash.
      In the function plugin_add( in sql_plugin.cc file),we found the code:

      if (name->str)
            DBUG_RETURN(FALSE); // all done
      

      WHY? Thanks!

        Attachments

          Activity

            People

            Assignee:
            serg Sergei Golubchik
            Reporter:
            bxiang power
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: