Commit 69e44a0
committed
fix(parser): allow unquoted STATUS keyword in DESCRIBE statements
Add STATUS to the simple_ident grammar rule to fix syntax error when
running DESCRIBE dolt.status without quoting the table name.
The simple_ident rule only allowed IDENT tokens and PUBLIC keyword.
Since STATUS is defined as an unreserved keyword in the grammar, it
was rejected in DESCRIBE statements unless quoted. This follows the
same pattern used when PUBLIC was added in PR #828.
Enable the previously skipped test that validates this fix.
Refs: #10571 parent 7078359 commit 69e44a0
2 files changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14549 | 14549 | | |
14550 | 14550 | | |
14551 | 14551 | | |
| 14552 | + | |
14552 | 14553 | | |
14553 | 14554 | | |
14554 | 14555 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1910 | 1910 | | |
1911 | 1911 | | |
1912 | 1912 | | |
1913 | | - | |
1914 | 1913 | | |
1915 | 1914 | | |
1916 | 1915 | | |
| |||
0 commit comments