[MDEV-9169] BINLOG_SYM in keywords_sp causes shift/reduce conflicts Created: 2015-11-23  Updated: 2015-11-23  Resolved: 2015-11-23

Status: Closed
Project: MariaDB Server
Component/s: Parser
Affects Version/s: 10.1, 10.2
Fix Version/s: 10.2.0

Type: Bug Priority: Major
Reporter: Alexander Barkov Assignee: Alexander Barkov
Resolution: Fixed Votes: 0
Labels: None

Sprint: 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.


Generated at Thu Feb 08 07:32:39 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.