You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql: harden recent change about DO block recursion
This commit reduces the max depth of recursion when evaluating routines
with `tail-call-optimization-enabled=false` (recently added in
7b879ef) from 10k to 100. We've just
seen a few cases where TestRandomSyntaxSQLSmith failed because DO block
didn't respect context cancellation within 5s. I've manually tried it
out a few times, and things worked, so my hypothesis is that extremely
deep stacks (that are produced with the TCO disabled) is the root cause
for slow cancellation, so let's just error out sooner.
This commit also brings back the skip of DO blocks in TestComposeCompare
(thinking there is that we should stabilize them in other tests first).
Release note: None
0 commit comments