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

Allow CREATE FUNCTION to run before udf_init()

    XMLWordPrintable

Details

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

    Description

      Currently CREATE FUNCTION requires udf_init() to be called first. But one could get around this restriction by inserting a row into the mysql.func table before a call to udf_init(). Make it so a CREATE FUNCTION statement does the insertion when it is executed before the call to udf_init(). This will for example help with early plugin initialisations (by plugin_load_add) that need to run udf creation queries.

      Attachments

        Issue Links

          Activity

            People

              ycp Yuchen Pei
              ycp Yuchen Pei
              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.