-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: elide recursion in the row iterator
Previously, the row iterator would self-recurse to process partial results and would sometimes blow up the stack as a result. Attempts were made to limit the amount of recursion, but would still sometimes explode the stack. In this patch, we rewrite the function using a retry loop. Along the way, we simplify the logic to make the function more readable. Fixes: #129963 Release note: None
- Loading branch information
Showing
1 changed file
with
37 additions
and
73 deletions.
There are no files selected for viewing
This file contains 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