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

MySQL dialect must still work in sql_mode=oracle

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.3.0
    • Fix Version/s: 10.3
    • Component/s: Parser
    • Labels:
      None

      Description

      All MySQL-specific dialect expressions must work in sql_mode=oracle , (unless they really conflict with Oracle syntax - but then it may be serious limitation for some cases).

      The reasoning behind that is that some 10.2 environments may rely on that dialect with sql_mode=oracle and it may be very unfortunate if those stop working after upgrading to 10.3 .
      As example I could identify following cases in MDEV-12962 :

      1. ELSEIF stopped working in sql_mode=oracle, which recognising only ELSIF now
      2. '%' operator has gone in sql_mode=oracle (see MDEV-12977)

      Other cases must be considered as well in 10.3 oracle parser during testing / implementation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bar Alexander Barkov
                Reporter:
                anikitin Andrii Nikitin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: