Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MERGE variable reuse #997

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

jrgemignani
Copy link
Contributor

Fixed the MERGE clause to allow for correct variable reuse in both the transform and execution phase.

Fixed an incorrect usage in MATCH where a variable was compared with pg_strcasecmp instead of strcmp.

Refactored some of the code using the volatile wrapper.

Verified and corrected old regression tests that were in error.

Added regression tests.

Fixed the MERGE clause to allow for correct variable reuse in
both the transform and execution phase.

Fixed an incorrect usage in MATCH where a variable was compared
with pg_strcasecmp instead of strcmp.

Refactored some of the code using the volatile wrapper.

Verified and corrected old regression tests that were in error.

Added regression tests.
Copy link
Member

@MuhammadTahaNaveed MuhammadTahaNaveed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! Looks good to me.

@dehowef
Copy link
Member

dehowef commented Jun 19, 2023

Looks good to me.

@dehowef dehowef merged commit 75a0e43 into apache:master Jun 20, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants