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

expression: fix a bug that the coercibility of user variable is wrong #17676

Merged
merged 6 commits into from
Jun 10, 2020

Conversation

wjhuang2016
Copy link
Member

Signed-off-by: wjhuang2016 huangwenjun1997@gmail.com

What problem does this PR solve?

Issue Number: close #17675

Problem Summary:
We didn't handle the coercibility for user variables.

What is changed and how it works?

Set the coercibility of user variables to CoercibilityImplicit.

Related changes

  • Need to cherry-pick to the release branch

Check List

Tests

  • Unit test

Side effects

Release note

  • fix a bug that the coercibility of user variable is wrong

Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
Copy link
Contributor

@qw4990 qw4990 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@bb7133 bb7133 left a comment

Choose a reason for hiding this comment

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

LGTM

@bb7133 bb7133 added status/LGT2 Indicates that a PR has LGTM 2. status/can-merge Indicates a PR has been approved by a committer. labels Jun 6, 2020
@sre-bot
Copy link
Contributor

sre-bot commented Jun 6, 2020

Sorry @bb7133, you don't have permission to trigger auto merge event on this branch. You are not a committer for this part

@wjhuang2016
Copy link
Member Author

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Jun 6, 2020

Sorry @wjhuang2016, you don't have permission to trigger auto merge event on this branch. You are not a committer for this part

@wjhuang2016
Copy link
Member Author

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Jun 8, 2020

Sorry @wjhuang2016, you don't have permission to trigger auto merge event on this branch. You are not a committer for this part

@codecov
Copy link

codecov bot commented Jun 8, 2020

Codecov Report

Merging #17676 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #17676   +/-   ##
===========================================
  Coverage   79.4949%   79.4949%           
===========================================
  Files           524        524           
  Lines        141887     141887           
===========================================
  Hits         112793     112793           
  Misses        19994      19994           
  Partials       9100       9100           

@wjhuang2016
Copy link
Member Author

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Jun 9, 2020

Sorry @wjhuang2016, you don't have permission to trigger auto merge event on this branch. You are not a committer for this part

@qw4990
Copy link
Contributor

qw4990 commented Jun 9, 2020

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Jun 9, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Jun 9, 2020

@wjhuang2016 merge failed.

@wjhuang2016 wjhuang2016 merged commit 4856f80 into pingcap:master Jun 10, 2020
sre-bot pushed a commit to sre-bot/tidb that referenced this pull request Jun 10, 2020
Signed-off-by: sre-bot <sre-bot@pingcap.com>
@sre-bot
Copy link
Contributor

sre-bot commented Jun 10, 2020

cherry pick to release-4.0 in PR #17890

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/expression status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Result of select COERCIBILITY(@str) is wrong
4 participants