sqlparser
sqlparser copied to clipboard
Can't parse `grant`/`lock` stmt
Even simple GRANT:
GRANT SELECT ON db2.`xx` TO 'jeffrey'@'localhost'; -- error: syntax error at position 6 near 'grant'
or LOCK:
lock tables T1 read; -- error: syntax error at position 5 near 'lock'
I'm getting the same error for GRANT.