Subject Re: Log transaction ID
Author Alexander V.Nevsky
--- In firebird-support@yahoogroups.com, "Fabrice Aeschbacher"
<fabrice.aeschbacher@s...> wrote:
> --- In firebird-support@yahoogroups.com, "Martijn Tonies"
> <m.tonies@u...> wrote:
> But a C program normally starts a transaction (thus becomimg a
> transaction handle, isc_tr_handle), and then executes a query within
> this transaction, and then commits the transaction.
>
> I want to (sys-)log the transaction number of each executed query, to
> see which one is living too long. So I must be able to get the
> transaction number from the isc_tr_handle.
>
> Any ideas?

Look at isc_transaction_info description in API Guide.

Best regards,
Alexander.