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

Make REPLICA a synonym for SLAVE in SQL statements

Details

    Description

      This could be done in the parser (don't forget to change both default and oracle-mode parsers), with a rule

      slave_or_replica: SLAVE | REPLICA_SYM ;
      

      or in the lexer, with one-liner in lex.h

          { "REPLICA",  SYM(SLAVE)},
      

      Attachments

        Issue Links

          Activity

            sujatha.sivakumar Sujatha Sivakumar (Inactive) added a comment - Hello Andrei, Please review the changes for MDEV-20601 . Patch: https://github.com/MariaDB/server/commit/23686b2bafe2f3f9614d68923dfd4aea7641dbcc BuildBot Results: http://buildbot.askmonty.org/buildbot/grid?category=main&branch=bb-10.5-sujatha Thank you.
            Elkin Andrei Elkin added a comment -

            Thanks for the patch!

            Elkin Andrei Elkin added a comment - Thanks for the patch!

            Fix is implemented in 10.5.1

            sujatha.sivakumar Sujatha Sivakumar (Inactive) added a comment - Fix is implemented in 10.5.1

            People

              sujatha.sivakumar Sujatha Sivakumar (Inactive)
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              8 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.