Repository navigation
Fix maximum call stack errors when parsing query results - #1240
Merged
Merged
Conversation
arthurschreiber
force-pushed
the
fix-stack-overflow
branch
from
March 17, 2021 22:31
e2f19a4 to
fbf8551
Compare
Codecov Report
@@ Coverage Diff @@
## master #1240 +/- ##
==========================================
- Coverage 81.52% 80.32% -1.20%
==========================================
Files 85 85
Lines 4536 4570 +34
Branches 846 855 +9
==========================================
- Hits 3698 3671 -27
- Misses 574 639 +65
+ Partials 264 260 -4
Continue to review full report at Codecov.
|
arthurschreiber
force-pushed
the
fix-stack-overflow
branch
from
March 17, 2021 22:33
fbf8551 to
9bed1c4
Compare
This reworks the `COLMETADATA`, `ROW` and `NBCROW` token parsing logic to parse incoming data in a fashion that does not grow the call stack in relation to the incoming packet size. Co-authored-by: Ian Chok <[email protected]>
arthurschreiber
force-pushed
the
fix-stack-overflow
branch
from
March 17, 2021 22:35
9bed1c4 to
6925123
Compare
This was referenced Mar 17, 2021
Co-authored-by: Ian Chok <[email protected]>
Contributor
|
🎉 This PR is included in version 11.0.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reworks the
COLMETADATA,ROWandNBCROWtoken parsing logic to parse incoming data in a fashion that does not grow the call stack in relation to the incoming packet size.Fixes: #839
Fixes: #1206