8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 22:03:03 +01:00
This commit is contained in:
asfernandes 2007-12-09 13:48:42 +00:00
parent 96dd603002
commit 2a1dc39600

View File

@ -459,7 +459,6 @@ jrd_req* CMP_clone_request(thread_db* tdbb, jrd_req* request, USHORT level, bool
return clone;
}
if (validate) {
jrd_prc* procedure = request->req_procedure;
if (procedure) {
@ -561,8 +560,8 @@ jrd_req* CMP_compile2(thread_db* tdbb, const UCHAR* blr, USHORT internal_flag,
// and will be freed by CMP_release
JrdMemoryPool* new_pool = 0;
try {
try
{
new_pool = JrdMemoryPool::createPool();
Jrd::ContextPoolHolder context(tdbb, new_pool);
@ -576,9 +575,9 @@ jrd_req* CMP_compile2(thread_db* tdbb, const UCHAR* blr, USHORT internal_flag,
CMP_verify_access(tdbb, request);
delete csb;
}
catch (const Firebird::Exception& ex) {
catch (const Firebird::Exception& ex)
{
Firebird::stuff_exception(tdbb->tdbb_status_vector, ex);
if (request) {
CMP_release(tdbb, request);