mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 19:23:03 +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:
parent
684c17fa4d
commit
b224a448e8
@ -1220,8 +1220,8 @@ void Monitoring::dumpAttachment(thread_db* tdbb, const Attachment* attachment, b
|
|||||||
transaction = transaction->tra_next)
|
transaction = transaction->tra_next)
|
||||||
{
|
{
|
||||||
for (jrd_req* request = transaction->tra_requests;
|
for (jrd_req* 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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user