8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 16:03:02 +01:00

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 10:21:58 +00:00
parent 684c17fa4d
commit b224a448e8

View File

@ -1220,8 +1220,8 @@ void Monitoring::dumpAttachment(thread_db* tdbb, const Attachment* attachment, b
transaction = transaction->tra_next)
{
for (jrd_req* request = transaction->tra_requests;
request && (request->req_flags & req_active);
request = request->req_caller)
request && (request->req_flags & req_active) && (request->req_transaction == transaction);
request = request->req_caller)
{
request->adjustCallerStats();