Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix set charset statement #836

Merged
merged 4 commits into from
May 15, 2020
Merged

Conversation

wjhuang2016
Copy link
Member

@wjhuang2016 wjhuang2016 commented Apr 27, 2020

What problem does this PR solve?

set charset statement is not equal to set names statement, we need to distinguish them.
Related TiDB PR.

What is changed and how it works?

If the statement is set charset, we use SetCharset instead of SetNames to mark it.

Check List

Tests

  • Unit test

Code changes

  • Has exported variable/fields change

Side effects

Related changes

@wjhuang2016 wjhuang2016 requested a review from a team April 27, 2020 08:38
@ghost ghost requested review from kennytm and removed request for a team April 27, 2020 08:38
@codecov
Copy link

codecov bot commented Apr 27, 2020

Codecov Report

Merging #836 into master will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #836      +/-   ##
==========================================
+ Coverage   78.28%   78.36%   +0.08%     
==========================================
  Files          40       40              
  Lines       14665    14759      +94     
==========================================
+ Hits        11480    11566      +86     
- Misses       2502     2512      +10     
+ Partials      683      681       -2     

Copy link
Contributor

@kennytm kennytm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@kennytm kennytm added the status/LGT1 LGT1 label Apr 27, 2020
@tiancaiamao
Copy link
Collaborator

LGTM

@tiancaiamao tiancaiamao added status/LGT2 LGT2 and removed status/LGT1 LGT1 labels Apr 28, 2020
@wjhuang2016
Copy link
Member Author

/rebuild

@wjhuang2016
Copy link
Member Author

/run-cherry-picker

@ti-srebot
Copy link
Contributor

cherry pick to release-4.0 failed

1 similar comment
@ti-srebot
Copy link
Contributor

cherry pick to release-4.0 failed

@wjhuang2016
Copy link
Member Author

/run-cherry-picker

@ti-srebot
Copy link
Contributor

cherry pick to release-4.0 failed

wjhuang2016 added a commit to wjhuang2016/parser that referenced this pull request Jul 8, 2020
wjhuang2016 added a commit that referenced this pull request Jul 8, 2020
tiancaiamao pushed a commit to tiancaiamao/parser that referenced this pull request Apr 27, 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