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

CREATE OR REPLACE + DEFINER + PROCEDURE Does Not Work

    XMLWordPrintable

Details

    Description

      When executing the following SQL statement, it does not work, and MariaDB throws an error (When it should work):

      CREATE OR REPLACE DEFINER='root'@'localhost' PROCEDURE MyProcedureName() ...
      

      But this works:

      CREATE OR REPLACE PROCEDURE MyProcedureName() ...
      

      And this also works:

      CREATE DEFINER='root'@'localhost' PROCEDURE MyProcedureName() ...
      

      So the first statement shall also work, and does not.

      Thank you,
      Juan

      Attachments

        Activity

          People

            Unassigned Unassigned
            Juan Juan Telleria
            Votes:
            0 Vote for this issue
            Watchers:
            3 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.