Skip to content

Fix endless loop in Result.peek with fetch_size=1 #587

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

Merged
merged 3 commits into from
Sep 21, 2021

Conversation

robsdedude
Copy link
Member

@robsdedude robsdedude commented Sep 20, 2021

Implement ResultSingle and ResultPeek in TestKit backend.
ResultSingle will be deactivated for now as TestKit expects the driver to
raise an error if there is not exactly 1 records in the result stream.
Currently, the driver only warns if there are more and returns None if there are
none. This (breaking) fix will be introduced in 5.0.

Implement `ResultSingle` and `ResultPeek` in TestKit backend.
`ResultSingle` will be deactivated for now as TestKit expects the driver to
raise an error if there is not exactly 1 records in the result stream.
Currently, the driver only warns if there are more and returns None if there are
none. This (breaking) fix will be introduced in 5.0.
@robsdedude robsdedude force-pushed the testkit-single-message branch from 99a94eb to ff60660 Compare September 20, 2021 12:20
@robsdedude robsdedude merged commit 4b9ad52 into neo4j:4.4 Sep 21, 2021
robsdedude added a commit that referenced this pull request Sep 21, 2021
@robsdedude robsdedude deleted the testkit-single-message branch September 21, 2021 14:31
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.

1 participant