-
Notifications
You must be signed in to change notification settings - Fork 209
Rework prepared queries #677
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
Conversation
799881d
to
7d1fcdf
Compare
Does this imply the statement auto-closing after one-shot preparedQuery is handled by the codec layer? |
@BillyYccc yes it is implied when there is no caching |
@BillyYccc @aguibert I would like to know if the above is fine and then we can start finishing this PR together and after back-port it to 3.9 |
7d1fcdf
to
f3f3056
Compare
I updated this PR with an intermediate change that does not require modification of current codecs and is actually more satisfying. I'll update the proposal issue to be in sync with this change. |
so this should not involve contributions from @aguibert and @BillyYccc |
eaa976a
to
612e3d2
Compare
Updated with prepared query caching simplification and corrections. |
I'm moving this PR to review so people can comment and make feedback. I'll review it myself also as there might be simplifications to do. |
To ease the review I will push the first commit that refactor the extended query commands in a single command to master as it is not related to the PR and the goal was to simplify and help this change |
9b0c9d6
to
bcdc979
Compare
this is ready for review |
bcdc979
to
098da73
Compare
Pushed a fix for the incorrect pipelining count that was found by a case provided by @BillyYccc |
098da73
to
b55f690
Compare
b55f690
to
1141abe
Compare
Signed-off-by: Billy Yuan <[email protected]>
Signed-off-by: Billy Yuan <[email protected]>
Signed-off-by: Billy Yuan <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks overall to me now, I have added some commits and we need to backport them to 3.9
as well
vertx-sql-client/src/main/java/io/vertx/sqlclient/impl/SocketConnectionBase.java
Outdated
Show resolved
Hide resolved
I back ported the commits @BillyYccc |
60a7654
to
87b490f
Compare
@BillyYccc added support for SQL cache filtering, I think now we are good and we can do a final pass on the review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @vietj for the effort on this!
it was a collaboration as usual @BillyYccc :-) |
fixes