From: Vlad H. <hv...@us...> - 2006-02-15 15:19:23
|
> > As i see in TRA\transaction_options you need > > > 00 - 1 byte - isc_tpb_version3 > > 01 - 1 byte - isc_tpb_concurrency > > 02 - 1 byte - isc_tpb_read / isc_tpb_write > > 03 - 1 byte - isc_tpb_wait / isc_tpb_nowait > > 04 - 1 byte - isc_tpb_lock_write / isc_tpb_lock_read > > 05 - 1 byte - table name length > > 06 - n byte - table name > > 07 - 1 byte - isc_tpb_protected / isc_tpb_shared > > > i.e. set isc_tpb_protected / isc_tpb_shared _after_ relation > > name and don't include trailing zero for relation name > > Now that's funny, since API Guide suggests completely different - > isc_tpb_protected _before_ the lock mode and relation name (with trailing > zero I was not sure, thanks for a tip). Yes, i see. But code worked as i wrote above - can you try it ? And it is not changed since IB6... Regards, Vlad |