Subject | Re: [ib-support] Firebird API, specifying table reservation. |
---|---|
Author | Ann W. Harrison |
Post date | 2003-01-14T19:41:47Z |
At 02:00 PM 1/14/2003 +0100, Henrik Sitter wrote:
tpb. After the tpb_lock_write, you need to include the
length of the table name.
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,
unsigned char (sizeof ("LEVERANDOR")),
"LEVERANDOR"}
Regards,
Ann
www.ibphoenix.com
We have answers.
>that is if I drop specifying a table reservation for the tableyes you can. I think that the problem is an error in your
>LEVERANDOR, a valid transaction handle is returned.
>
>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?
tpb. After the tpb_lock_write, you need to include the
length of the table name.
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,
unsigned char (sizeof ("LEVERANDOR")),
"LEVERANDOR"}
Regards,
Ann
www.ibphoenix.com
We have answers.