mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 06:43:04 +01:00
Misc.
This commit is contained in:
parent
904d9cc627
commit
c42420da2d
@ -1520,11 +1520,8 @@ static dsql_req* prepareStatement(thread_db* tdbb, dsql_dbb* database, jrd_tra*
|
||||
}
|
||||
else
|
||||
{
|
||||
if (scratchPool)
|
||||
database->deletePool(scratchPool);
|
||||
|
||||
if (statementPool)
|
||||
database->deletePool(statementPool);
|
||||
database->deletePool(scratchPool);
|
||||
database->deletePool(statementPool);
|
||||
}
|
||||
|
||||
throw;
|
||||
@ -1791,9 +1788,7 @@ void dsql_req::destroy(thread_db* tdbb, dsql_req* request, bool drop)
|
||||
if (drop)
|
||||
{
|
||||
request->req_dbb->deletePool(&request->getPool());
|
||||
|
||||
if (request->liveScratchPool)
|
||||
request->req_dbb->deletePool(request->liveScratchPool);
|
||||
request->req_dbb->deletePool(request->liveScratchPool);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user