8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 14:03:07 +01:00

Allows to correctly free JTransaction after bugcheck

This commit is contained in:
hvlad 2018-04-26 22:37:41 +03:00
parent 8e9e03c1aa
commit fe0a74bfe6

View File

@ -7367,7 +7367,7 @@ void JTransaction::freeEngineData(CheckStatusWrapper* user_status)
try try
{ {
EngineContextHolder tdbb(user_status, this, FB_FUNCTION); EngineContextHolder tdbb(user_status, this, FB_FUNCTION);
check_database(tdbb); check_database(tdbb, true);
try try
{ {
@ -7390,6 +7390,7 @@ void JTransaction::freeEngineData(CheckStatusWrapper* user_status)
} }
catch (const Exception& ex) catch (const Exception& ex)
{ {
transaction = NULL;
ex.stuffException(user_status); ex.stuffException(user_status);
return; return;
} }