-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug#30765691: FREE TOKEN SLOTS ARE EXHAUSTED IN GEN_LEX_TOKEN.CC
Only 2 free reserved token slots remained in gen_lex_token.cc. The current patch: * forces explicit token numbers in %token declarations in sql_yacc.yy and sql_hints.yy * extends the token space with extra segment for new tokens * cleanups the code * fixes query normalization bugs: -- OR2_SYM should output "||" to the normalized query string instead of "|" -- token NEG is not related to "~" Note: the fix doesn't renumber previously existent tokens, so, digests test results should not alter. Change-Id: Ic47ba4359e18403e7f5edd1a7d510c416d2cc736
- Loading branch information
1 parent
7ca84c0
commit 17ca03f
Showing
5 changed files
with
1,100 additions
and
1,047 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.