-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#23461] YSQL: Fix memory corruption in UPDATE pushdown
Summary: The mutated expressions should not be placed into the per tuple memory context, it may be reset during the mutation. The problem was introduced by #16255 where allocations were released a bit too aggressively. To fix the issue perform pushdown expression mutation outside of the per tuple context. Jira: DB-12381 Test Plan: ./yb_build.sh --java-test 'org.yb.pgsql.TestPgRegressDml#testPgRegressDml' Reviewers: telgersma Reviewed By: telgersma Subscribers: yql Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D37251
- Loading branch information
1 parent
d1ac140
commit ade3a0e
Showing
3 changed files
with
36 additions
and
2 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
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
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