Skip to content

Commit

Permalink
stats.ctx fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jakesmith committed Dec 18, 2023
1 parent c9552ed commit 54b6a90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/jhtree/jhtree.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,8 +577,8 @@ class jhtree_decl CKeyLevelManager : implements IKeyManager, public CInterface
// IO Stats comming from the keyCursor and jhtree cache stats coming from this class's stats
if (keyCursor)
keyCursor->mergeStats(targetStats); // merge IO stats
if (stats.ctx)
targetStats.merge(stats.ctx->queryStats()); // merge jhtree cache stats
if (ctx)
targetStats.merge(ctx->queryStats()); // merge jhtree cache stats
}
};

Expand Down

0 comments on commit 54b6a90

Please sign in to comment.