diff --git a/src/dsql/dsql.cpp b/src/dsql/dsql.cpp index 7e91835bbf..7fb8d2b07d 100644 --- a/src/dsql/dsql.cpp +++ b/src/dsql/dsql.cpp @@ -2780,7 +2780,7 @@ static dsql_req* prepareStatement(thread_db* tdbb, dsql_dbb* database, jrd_tra* catch (const Firebird::Exception&) { trace.prepare(res_failed); - request->req_traced = true; + request->req_traced = false; release_request(tdbb, request, true); throw; }