Subject | Re: Log transaction ID |
---|---|
Author | Fabrice Aeschbacher |
Post date | 2004-04-22T06:54:02Z |
--- In firebird-support@yahoogroups.com, "Alexander V.Nevsky"
<ded@h...> wrote:
Best regards,
Fabrice
<ded@h...> wrote:
> --- In firebird-support@yahoogroups.com, "Fabrice Aeschbacher"Thanks Alexander, that's exactly what I need.
> <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.
Best regards,
Fabrice