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

Latest changes made erroneously some keywords reserved in sql_mode=ORACLE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.3
    • Fix Version/s: 10.3.7
    • Component/s: Parser
    • Labels:
      None

      Description

      SET sql_mode='';
      SELECT system;
      

      ERROR 1054 (42S22): Unknown column 'system' in 'field list'
      

      SET sql_mode=ORACLE;
      SELECT system;
      

      ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'system' at line 1
      

      The same problem is repeatable for PERIOD, HISTORY, SYSTEM_TIME, VERSIONING, WITHOUT.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bar Alexander Barkov
              Reporter:
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: