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:
parent
8e9e03c1aa
commit
fe0a74bfe6
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user