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) #12551

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-3.0. 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

@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. 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

@zz-jason zz-jason removed the status/LGT1 Indicates that a PR has LGTM 1. label Oct 9, 2019
@zz-jason zz-jason removed the request for review from qw4990 October 9, 2019 08:46
@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.

@tiancaiamao
Copy link
Contributor

/run-integration-common-test

@ngaut ngaut merged commit efc7e50 into pingcap:release-3.0 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.

6 participants