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

DPB and SPB format are different [JDBC286] #332

Closed
firebird-issue-importer opened this issue Dec 2, 2012 · 6 comments
Closed

DPB and SPB format are different [JDBC286] #332

firebird-issue-importer opened this issue Dec 2, 2012 · 6 comments

Comments

@firebird-issue-importer
Copy link

@firebird-issue-importer firebird-issue-importer commented Dec 2, 2012

Submitted by: @mrotteveel

Relate to JDBC285

The fix for JDBC285 opens a whole new set of problems: apparently the SPB and DPB formats are not the same: in DPB the length is always prefixed, while in SPB that is only done for strings, this causes a GDS Exception. 335544562. unrecognized service parameter block. Strangely enough this only seems to occur with the JNI implementation

Commits: 7ebe3e5 d6f2c9f

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 2, 2012

Modified by: @mrotteveel

Link: This issue relate to JDBC285 [ JDBC285 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 2, 2012

Commented by: @mrotteveel

This problem was already fixed in the wire protocol implementation, which has a separate implementation to write the arguments without length.

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 2, 2012

Modified by: @mrotteveel

Fix Version: Jaybird 2.2.2 [ 10480 ]

Fix Version: Jaybird 2.3 [ 10440 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 2, 2012

Commented by: @mrotteveel

Committed fix to trunk and 2.2 branch

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Dec 2, 2012

Modified by: @mrotteveel

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

resolution: Fixed [ 1 ]

@firebird-issue-importer
Copy link
Author

@firebird-issue-importer firebird-issue-importer commented Feb 21, 2013

Modified by: @mrotteveel

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants