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

BINLOG_SYM in keywords_sp causes shift/reduce conflicts

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.1, 10.2
    • 10.2.0
    • Parser
    • None
    • 10.2.0-1

    Description

      Currently BINLOG_SYM is specified in the "keywords_sp" rule. It should be moved to the "keywords" rule instead. This removes around 20 shift/reduce conflicts.

      We do want "binlog" to be an identifier, like this:

      CREATE TABLE t1 (binlog INT);

      but it should not be allowed as a label in a stored routine, to avoid shift/reduce conflicts with "BINLOG" as a beginning of a verb clause.

      Attachments

        Activity

          People

            bar Alexander Barkov
            bar Alexander Barkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.