-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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: add max_allowed_packet check in concat/concat_ws #11137
expression: add max_allowed_packet check in concat/concat_ws #11137
Conversation
de0b07f
to
9b16346
Compare
9b16346
to
06f948d
Compare
Codecov Report
@@ Coverage Diff @@
## master #11137 +/- ##
===============================================
- Coverage 81.677% 81.2596% -0.4174%
===============================================
Files 423 423
Lines 91699 90073 -1626
===============================================
- Hits 74897 73193 -1704
- Misses 11494 11577 +83
+ Partials 5308 5303 -5 |
/run-all-tests |
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ea99452
to
51cf08e
Compare
51cf08e
to
1d3ebe9
Compare
e2b789b
to
6c765d4
Compare
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/run-all-tests |
Codecov is decreased but I have no idea how to fix it. Maybe we should consider fixing #11269 to solve this. |
It seems that, not for sure, we failed to cherry-pick this commit to release-2.1. Please comment '/run-cherry-picker' to try to trigger the cherry-picker if we did fail to cherry-pick this commit before. @amyangfei PTAL. |
/run-cherry-picker |
cherry pick to release-2.1 in PR #16175 |
What problem does this PR solve?
Return
NULL
and a warning when the result of functionconcat
orconcat_ws
exceedsmax_allowed_packet
. ref: #7153After this PR,
What is changed and how it works?
add max_allowed_packet check during
evalString
inbuiltinConcatWSSig
andbuiltinConcatSig
Check List
Tests
Related changes