Subject | Re: [ib-support] Firebird API, specifying table reservation. |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2003-01-15T04:15:03Z |
On 14 Jan 2003 at 14:00, Henrik Sitter wrote:
...
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.
>I'm working a bit with the Firebird API (version 1.0.0) and have theBorland documentation contain errors.
>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"
> };
>So the question is, can/can't I use table reservation in FirebirdYou've missed table name length. TPB should look like that:
>v.1.0.0, and if I can, what is the flaw in my code?
...
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.