Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rowexec: close all ValueGenerators in the project set processor
Previously, we forgot to close the value generators when a new input row is read by the project set processor which could lead to leaking of the resources. This is now fixed. Most of the value generators don't need to release any resources, a few need to close their memory account (previously this would result in a sentry report, but no actual leak would occur in production builds), the only concerning one is `crdb_internal.payloads_for_trace` where we would not close the `InternalRows` iterator. But that seems like an internal debugging tool, so most likely the users weren't impacted. Release justification: bug fix. Release note: None (It seems like in most cases the users would not see the impact.)
- Loading branch information