8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:43:03 +01:00

Backport: avoid info duplication when statements in call stack attached to different transactions (for example: monitoring snapshot is created in autonomous transaction)

This commit is contained in:
hvlad 2014-08-12 12:59:10 +00:00
parent d783dad667
commit 7874a6017d

View File

@ -822,7 +822,7 @@ void DatabaseSnapshot::dumpData(thread_db* tdbb)
transaction; transaction = transaction->tra_next) transaction; transaction = transaction->tra_next)
{ {
for (request = transaction->tra_requests; 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 = request->req_caller)
{ {
request->adjustCallerStats(); request->adjustCallerStats();