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

Make REPLICA a synonym for SLAVE in SQL statements

    XMLWordPrintable

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

            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.