Using isc_prepare_transaction2()

From InterBase

Go Up to Ending Transactions


Like isc_prepare_transaction(), isc_prepare_transaction2() performs the first phase of a two-phase commit, except that isc_prepare_transaction2() enables
an application to supply its own transaction description for insertion into the RDB$TRANSACTION_DESCRIPTION field of the RDB$TRANSACTION system table.

Important:
Do not use this call without first examining and understanding the information InterBase stores in RDB$TRANSACTION_DESCRIPTION during an automatic, two-phase commit. Storage of improper or incomplete information can prevent database recovery if the two-phase commit fails.

See Isc prepare transaction2() for its complete syntax.

Advance To: