From:
<car...@te...> - 2002-11-22 13:24:45
|
Hello: > >Well, i´m going to update my changes of thisto the CVS..... > > > I updated my version to the current CVS. > When FbTransaction.Dipose() is called and the tran is rolledback, > isUpdated > was not set to true, therefore FbConnection().BeginTransaction() failed. > > I found this using the construct > using (FbTransaction transaction = connection.BeginTransaction()) > { > // do something which failes and therefore doesn't execute Commit() > // but implicitly calls transaction.Dispose() > transaction.Commit(); > } Thanks very much for this, i have it updated only with one change. Instead of : FbIscConnection.gds.isc_rollback_transaction(tr); use: InternalRollback(false); Best regards Carlos Guzmán Álvarez Vigo-Spain |