diff options
Diffstat (limited to 'src/third_party/wiredtiger/src/session')
-rw-r--r-- | src/third_party/wiredtiger/src/session/session_api.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/third_party/wiredtiger/src/session/session_api.c b/src/third_party/wiredtiger/src/session/session_api.c index 85740d4935b..c413fb21f32 100644 --- a/src/third_party/wiredtiger/src/session/session_api.c +++ b/src/third_party/wiredtiger/src/session/session_api.c @@ -1012,6 +1012,10 @@ __session_reset(WT_SESSION *wt_session) /* Release common session resources. */ WT_TRET(__wt_session_release_resources(session)); + /* Reset the session statistics. */ + if (WT_STAT_ENABLED(session)) + __wt_stat_session_clear_single(&session->stats); + err: API_END_RET_NOTFOUND_MAP(session, ret); } |