Subject | RE: [ib-support] Firebird API, specifying table reservation. |
---|---|
Author | Henrik Sitter |
Post date | 2003-01-15T09:32:50Z |
Hi, Dimitry.
I have already received lots of answers. Thanks a lot for responding to
my question:)
Regards,
Henrik
-----Original Message-----
From: Dimitry Sibiryakov [mailto:SD@...]
Sent: Tuesday, January 14, 2003 3:00 PM
To: ib-support@yahoogroups.com
Subject: Re: [ib-support] Firebird API, specifying table reservation.
I have already received lots of answers. Thanks a lot for responding to
my question:)
Regards,
Henrik
-----Original Message-----
From: Dimitry Sibiryakov [mailto:SD@...]
Sent: Tuesday, January 14, 2003 3:00 PM
To: ib-support@yahoogroups.com
Subject: Re: [ib-support] Firebird API, specifying table reservation.
On 14 Jan 2003 at 14:00, Henrik Sitter wrote:
>I'm working a bit with the Firebird API (version 1.0.0) and have the
>following code for the Transaction Parameter Buffer (tpb):
>
>static char isc_tpb[] = {isc_tpb_version3,
>isc_tpb_write,
>isc_tpb_read_committed,
> isc_tpb_no_rec_version,
> isc_tpb_wait,
> isc_tpb_protected, isc_tpb_lock_write,
>"LEVERANDOR"
> };
Borland documentation contain errors.
>So the question is, can/can't I use table reservation in Firebird
>v.1.0.0, and if I can, what is the flaw in my code?
You've missed table name length. TPB should look like that:
...
isc_tpb_lock_write,
char(10),
'L','E','V','E','R','A','N','D','O','R'
...
Pay attention to absence of the final '\0'.
SY, Dimitry Sibiryakov.
To unsubscribe from this group, send an email to:
ib-support-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/