Skip to content

lexer: fix the bug that lexer may scan wrong tokens#1235

Merged
xiongjiwei merged 2 commits intopingcap:release-5.0from
xiongjiwei:lexer-cp
Jun 1, 2021
Merged

lexer: fix the bug that lexer may scan wrong tokens#1235
xiongjiwei merged 2 commits intopingcap:release-5.0from
xiongjiwei:lexer-cp

Conversation

@xiongjiwei
Copy link
Copy Markdown
Contributor

What problem does this PR solve?

close #1203
cherry-pick #1228

identifierDot should be true if and only if a dot after an identifier, if it is true, the next token must be interpreted as identifier or '*'

What is changed and how it works?

Check List

Tests

  • Unit test
  • Integration test

xiongjiwei and others added 2 commits June 1, 2021 10:28
Co-authored-by: ti-srebot <[email protected]>
(cherry picked from commit f5c77b7)
@ti-srebot ti-srebot added the status/LGT1 LGT1 label Jun 1, 2021
@ti-srebot ti-srebot removed the status/LGT1 LGT1 label Jun 1, 2021
@ti-srebot ti-srebot added the status/LGT2 LGT2 label Jun 1, 2021
@xiongjiwei xiongjiwei merged commit 389d0cf into pingcap:release-5.0 Jun 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants