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

sql_mode="oracle" cannot declare without variable errors

    XMLWordPrintable

Details

    Description

      'DECLARE' statement without any variable declaration followed generate error.

      BEGIN
        DECLARE
        BEGIN
          null; 
        END;
      EXCEPTION
      WHEN OTHERS THEN
          null;
      END;
      /
      

      Attachments

        Activity

          People

            bar Alexander Barkov
            manjot Manjot Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1d
                1d
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 0.5h Time Not Required
                0.5h

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.