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 panic when check null rejection for from_unixtime (#12413) #12553

Merged
merged 3 commits into from
Oct 10, 2019

Conversation

zz-jason
Copy link
Member

@zz-jason zz-jason commented Oct 8, 2019

Cherry pick #12413 to release-2.1. Original PR description:

Signed-off-by: Zhang Jian zjsariel@gmail.com

What problem does this PR solve?

fix #12385

What is changed and how it works?

check whether the argument is NULL before using the value pointer.

Check List

Tests

  • Unit test
  • Integration test

Code changes

  • Has exported function/method change
  • Has exported variable/fields change

Related changes

  • Need to cherry-pick to the release branch

Release note

fix the panic when check null rejection for `from_unixtime`.

Copy link
Contributor

@SunRunAway SunRunAway left a comment

Choose a reason for hiding this comment

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

LGTM

@SunRunAway SunRunAway added the status/LGT1 Indicates that a PR has LGTM 1. label Oct 9, 2019
Copy link
Contributor

@XuHuaiyu XuHuaiyu left a comment

Choose a reason for hiding this comment

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

LGTM

@qw4990 qw4990 removed their request for review October 9, 2019 08:46
@zz-jason zz-jason added status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Oct 9, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Oct 9, 2019

Your auto merge job has been accepted, waiting for 12558, 12564, 12551, 12552

@zz-jason
Copy link
Member Author

zz-jason commented Oct 9, 2019

/rebuild

@sre-bot
Copy link
Contributor

sre-bot commented Oct 9, 2019

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Oct 9, 2019

@zz-jason merge failed.

@zz-jason
Copy link
Member Author

/rebuild

@ngaut ngaut merged commit d6ecc98 into pingcap:release-2.1 Oct 10, 2019
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.

5 participants