Skip to content

Emit a single error on failed GraphContext retrieval #1632

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 2 commits into from
Mar 18, 2021

Conversation

jeffreylovitz
Copy link
Contributor

This PR fixes a behavior introduced by #1596 in which 2 error messages are emitted instead of 1 (and an assertion fails). The problem occurs when a non-existent graph name is used in a GRAPH.BULK command that does not start with the BEGIN token.

@jeffreylovitz jeffreylovitz requested a review from swilly22 March 17, 2021 15:38
@jeffreylovitz jeffreylovitz self-assigned this Mar 17, 2021
@swilly22 swilly22 merged commit a9f9b84 into master Mar 18, 2021
@swilly22 swilly22 deleted the bulk-error-on-failed-retrieval branch March 18, 2021 07:12
pnxguide pushed a commit to CMU-SPEED/RedisGraph that referenced this pull request Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants