8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 06:03:02 +01:00
This commit is contained in:
alexpeshkoff 2005-02-24 17:56:10 +00:00
parent a4a2855adf
commit 334c5c8c5f

View File

@ -299,7 +299,9 @@ void ExecuteStatement::Close(thread_db* tdbb)
delete[] p;
Sqlda = 0;
if (Transaction) {
THREAD_EXIT();
WHY_cleanup_transaction(WHY_translate_handle(Transaction));
THREAD_ENTER();
}
WHY_free_handle(Transaction);
Transaction = 0;