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

GC of prepared statement that failed during prepare incorrectly triggers logging of "Specified statement was not created by this connection" #674

Closed
mrotteveel opened this issue Aug 30, 2021 · 0 comments

Comments

@mrotteveel
Copy link
Member

The fix of #571 for Jaybird 4 uses an incorrect condition (missing negation):

if (stmt instanceof FBPreparedStatement && ((FBPreparedStatement) stmt).isInitialized())

instead of

if (stmt instanceof FBPreparedStatement && !((FBPreparedStatement) stmt).isInitialized())

This needs to be fixed in Jaybird 4 and Jaybird 5 (master)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment