-
Notifications
You must be signed in to change notification settings - Fork 413
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
MERGE followed by SET causes segfault #235
Comments
Was able to reproduce the bug. Will look into a fix. |
Could this be related to #232 (comment), where the return value differs depending on whether a node exists before executing a MERGE? |
Not sure, this appears to be specifically related to SET |
A patch is currently in review to correct this issue. |
This might address that issue. But, #232 is lacking clears examples to know for sure. |
Fixed github issue #235 for when MERGE and SET were used together. FX: MERGE (n:node {name: 'Jason'}) SET n.name = 'Lisa' RETURN n The issue is that the above command would cause a crash when the target of the MERGE command existed. Meaning, it found a matching tuple to return to the SET command. The tuple generated for that particular case was not being sent up to the SET command correctly, this was fixed. Added a regression test.
This is now fixed in the master branch. It also fixes #232. |
Resolved, thank you. |
Describe the bug
MERGE followed by SET causes server process segfault.
How are you accessing AGE (Command line, driver, etc.)?
Bundled Node 'pg-age' driver.
What data setup do we need to do?
What is the necessary configuration info needed?
None.
What is the command that caused the error?
NOTE: If the node exists, the server process crashes. However, if the node does not exist, the MERGE query completes successfully.
log dump
Expected behavior
Execute cypher query with no crashy crashy.
Environment (please complete the following information):
Additional context
None.
The text was updated successfully, but these errors were encountered: