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

v3 fbclient cannot work with servers older than v2.5 via the remote protocol [CORE4872] #5168

Closed
firebird-automations opened this issue Jul 10, 2015 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @dyemanov

Historically, BLOB IDs were described as blr_quad in remote messages, because older server versions don't understand blr_blob2. v3 fbclient breaks this compatibility by sending blr_blob2 over the wire. ISQL connects fine, SHOW VERSION executes fine, but "select * from rdb$database" throws "error reading data from the connection".

I suppose we could simply revert back to the old behavior, but a more clever approach would be to check the protocol version and use blr_blob2 only if the server is known to understand it. I'm preparing the patch at the moment.

Commits: 1776ee0 FirebirdSQL/fbt-repository@cda2aec

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Component: API / Client Library [ 10040 ]

assignee: Dmitry Yemanov [ dimitr ]

Component: Engine [ 10000 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 3.0 RC 1 [ 10584 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Cannot be tested

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