From 7874a6017d8e6488e7e9a143febbf0c9d100df2b Mon Sep 17 00:00:00 2001 From: hvlad Date: Tue, 12 Aug 2014 12:59:10 +0000 Subject: [PATCH] Backport: avoid info duplication when statements in call stack attached to different transactions (for example: monitoring snapshot is created in autonomous transaction) --- src/jrd/DatabaseSnapshot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/DatabaseSnapshot.cpp b/src/jrd/DatabaseSnapshot.cpp index 67372b5cfb..47e38584b5 100644 --- a/src/jrd/DatabaseSnapshot.cpp +++ b/src/jrd/DatabaseSnapshot.cpp @@ -822,7 +822,7 @@ void DatabaseSnapshot::dumpData(thread_db* tdbb) transaction; transaction = transaction->tra_next) { for (request = transaction->tra_requests; - request && (request->req_flags & req_active); + request && (request->req_flags & req_active) && (request->req_transaction == transaction); request = request->req_caller) { request->adjustCallerStats();