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

sql_mode=ORACLE: Wrong SHOW PROCEDURE output for sysvar:=expr

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.3, 10.4, 10.5
    • 10.5.0
    • Stored routines
    • None

    Description

      SET sql_mode=ORACLE;
      DELIMITER $$
      CREATE OR REPLACE PROCEDURE p1() AS
      BEGIN
        max_error_count:=10;
      END;
      $$
      DELIMITER ;
      SHOW PROCEDURE CODE p1;
      

      +-----+------------------+
      | Pos | Instruction      |
      +-----+------------------+
      |   0 | stmt 31 "SET 10" |
      +-----+------------------+
      

      Attachments

        Issue Links

          Activity

            People

              bar Alexander Barkov
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.