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: handle max_allowed_packet warnings for to_base64 function. #7427

Merged
merged 1 commit into from
Aug 17, 2018

Conversation

supernan1994
Copy link
Contributor

What problem does this PR solve?

cherrypick #7266 (from commit 016006f) to release-2.0

What is changed and how it works?

Return NULL and a warning when the result of to_base64 exceeds max_allowed_packetbs.

Check List

Tests

  • Unit test

Related changes

  • Need to be included in the release note
release note:
handle `max_allowed_packet` warnings for `TO_BASE64` function

@sre-bot
Copy link
Contributor

sre-bot commented Aug 17, 2018

Hi contributor, thanks for your PR.

This patch needs to be approved by someone of admins. They should reply with "/ok-to-test" to accept this PR for running test automatically.

@supernan1994
Copy link
Contributor Author

/run-all-tests tikv=release-2.0 pd=release-2.0 tidb-test=release-2.0

@supernan1994
Copy link
Contributor Author

@zz-jason PTAL

@zz-jason zz-jason added type/bugfix This PR fixes a bug. component/expression type/2.0 cherry-pick status/LGT1 Indicates that a PR has LGTM 1. labels Aug 17, 2018
@zz-jason
Copy link
Member

@supernan1994 LGTM! Thanks for your contribution!

@zz-jason
Copy link
Member

@crazycs520 @XuHuaiyu PTAL

Copy link
Contributor

@crazycs520 crazycs520 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/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Aug 17, 2018
@zz-jason zz-jason merged commit 6d55c90 into pingcap:release-2.0 Aug 17, 2018
@sre-bot sre-bot added the contribution This PR is from a community contributor. label Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/expression contribution This PR is from a community contributor. 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