forked from yugabyte/yugabyte-db
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[yugabyte#14278] YSQL: Make sure copy function for YbBatchedNestLoop …
…does a deep copy for its fields Summary: `_copyYbBatchedNestLoop` in `copyfuncs.c` was doing a shallow copy of its `nl` field. This results in the field having invalid fields when a copy of a `YbBatchedNestLoop` plan is reused over multiple connections. This revision fixes that issue by adding the appropriate copy logic in `_copyYbBatchedNestLoop`. This revision also fixes a couple glaring cosmetic issues in code relevant to batched nested loop joins. Test Plan: ./yb_build.sh release --java-test 'org.yb.pgsql.TestPgMisc' Reviewers: rskannan, amartsinchyk Reviewed By: amartsinchyk Differential Revision: https://phabricator.dev.yugabyte.com/D19919
- Loading branch information
1 parent
df5ff36
commit caa3be6
Showing
4 changed files
with
37 additions
and
4 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
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