mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 03:23:03 +01:00
Set transaction handle to NULL after successful commit or rollback
This commit is contained in:
parent
4ddc446ed5
commit
5e6a939197
@ -5968,6 +5968,7 @@ void JRD_commit_transaction(thread_db* tdbb, jrd_tra** transaction)
|
||||
*
|
||||
**************************************/
|
||||
commit(tdbb, *transaction, false);
|
||||
*transaction = NULL;
|
||||
}
|
||||
|
||||
|
||||
@ -6000,6 +6001,7 @@ void JRD_rollback_transaction(thread_db* tdbb, jrd_tra** transaction)
|
||||
*
|
||||
**************************************/
|
||||
rollback(tdbb, *transaction, false);
|
||||
*transaction = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user