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

Fixed auto prepared statement is wrongfully replaced by other statement. #2185

Closed
wants to merge 1 commit into from
Closed

Fixed auto prepared statement is wrongfully replaced by other statement. #2185

wants to merge 1 commit into from

Conversation

romanov-is-here
Copy link
Contributor

Fixes #2178

Faulty statement stays in "BeingPrepared" state and replaces another prepared statement.

@YohDeadfall YohDeadfall requested review from roji and Brar October 9, 2018 19:24
Copy link
Contributor

@YohDeadfall YohDeadfall left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you for the fix and sorry for taking so long to review it.

@roji
Copy link
Member

roji commented Jul 8, 2019

@JustBSka apologies for not looking at this previously, this slipped under my radar.

I analyzed the error, and it seems better to catch the error when it occurs and properly update the bookkeeping, rather than leaving the failing prepared statement in a BeingPrepared state and handling that on the next command. Submitted #2516 to implement that.

If you have time to take a look at #2516, that would be great.

@roji
Copy link
Member

roji commented Jul 8, 2019

Superceded by #2516

@roji roji closed this Jul 8, 2019
@romanov-is-here romanov-is-here deleted the issue2178 branch July 8, 2019 11:56
@romanov-is-here romanov-is-here restored the issue2178 branch July 8, 2019 11:57
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.

A failing command completely replaces all prepared statements
3 participants