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

XpbBuilder fails to create new TPB [CORE5355] #5628

Closed
firebird-automations opened this issue Sep 22, 2016 · 7 comments
Closed

XpbBuilder fails to create new TPB [CORE5355] #5628

firebird-automations opened this issue Sep 22, 2016 · 7 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Gabor Boros (gaborboros)

When creating the TPB using XpbBuilder one gets an exception:

invalid format for transaction parameter block
-wrong version of transaction parameter block

Commits: 10a4cde 27b6538

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

reporter: Alexander Peshkov [ alexpeshkoff ] => Gabor Boros [ gaborboros ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

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

QA Status: No test => Cannot be tested

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 3.0.1 [ 10730 ]

Fix Version: 4.0 Alpha 1 [ 10731 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: Gabor Boros (gaborboros)

With the earlier provided example (https://sourceforge.net/p/firebird/mailman/message/35384690) and snapshot 3.0.1.32608 (Win32) I got this:

invalid parameter in transaction parameter block
-Table reservation lock type isc_tpb_shared requires table name before in TPB

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Almost sure you have not removed unneeded
tpb.insertTag(status,isc_tpb_version3);

Values for this constants are same therefore engine treats isc_tpb_version3 as isc_tpb_shared :
#⁠define isc_tpb_version3 3
#⁠define isc_tpb_shared 3

(That's like you need not add isc_dpb_version1 when you build DPB.)

@firebird-automations
Copy link
Collaborator Author

Commented by: Gabor Boros (gaborboros)

You are correct. Removed the "tpb.insertTag(status,isc_tpb_version3);" line and works. Sorry for the false alarm and Thank you Alex!

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