Issue Details (XML | Word | Printable)

Key: CORE-5355
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Gabor Boros
Votes: 0
Watchers: 1

If you were logged in you would be able to see more operations.
Firebird Core

XpbBuilder fails to create new TPB

Created: 22/Sep/16 11:47 AM   Updated: 23/Sep/16 10:21 AM
Component/s: None
Affects Version/s: 4.0 Initial, 3.0.0
Fix Version/s: 3.0.1, 4.0 Alpha 1

QA Status: Cannot be tested

 Description  « Hide
When creating the TPB using XpbBuilder one gets an exception:

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

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Gabor Boros added a comment - 23/Sep/16 09:49 AM
With the earlier provided example ( and snapshot (Win32) I got this:

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

Alexander Peshkov added a comment - 23/Sep/16 10:08 AM
Almost sure you have not removed unneeded

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.)

Gabor Boros added a comment - 23/Sep/16 10:21 AM
You are correct. Removed the "tpb.insertTag(status,isc_tpb_version3);" line and works. Sorry for the false alarm and Thank you Alex!