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

            Assignee:
            bar Alexander Barkov
            Reporter:
            manjot Manjot Singh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: