Subject | RE: [firebird-support] isc_detach_database question |
---|---|
Author | Alan McDonald |
Post date | 2004-07-20T07:13:45Z |
> >Can someone tell me why this code leaves the database connected?yes - I was simplifying - I do check and the return code was OK
>
> Among other reasons, you don't check return codes. If commit has
> failed for any reason, the transaction is still active and you must
> rollback it.
>
> BTW, I'd like to find out a way to check whether all transactions
> are finished inside a connection and if not - rollback them forcedly.
> So far I don't see any way to do it. Any suggestion?
>
> SY, Dimitry Sibiryakov.
(I had another connection open for events)
but no I do not know how to retrieve all transaction handles other than
keeping them client side when you start it.
Alan