Subject | Re: [firebird-support] Re: Locking a Table |
---|---|
Author | Ivan Prenosil |
Post date | 2005-12-13T06:34:27Z |
> Docs have two examples and one is wrong. Unfortunatelly, you pickedAnd afaik the order of parameters is fixed, and should be
> up wrong one.
>
>>isc_tpb_protected, isc_tpb_lock_read, "COUNTRY",
>>isc_tpb_protected, isc_tpb_lock_write, "EMPLOYEE"};
>>
>>Any idea what the correct TPB format is ?
>
> ...isc_tpb_lock_write, 8, 'E','M','P','L','O','Y','E','E'...
>
> Here "8" is length of "EMPLOYEE".
isc_tpb_lock_write, 8, 'E','M','P','L','O','Y','E','E', isc_tpb_protected
Ivan