summaryrefslogtreecommitdiff
path: root/src/txn
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@wiredtiger.com>2014-10-20 23:08:11 +1100
committerMichael Cahill <michael.cahill@wiredtiger.com>2014-10-20 23:08:11 +1100
commit8448711a53294688c4af7b688224383302c1b2af (patch)
treebc1ee807fec02e4ee914b49346e917e7250b3365 /src/txn
parent06c3a03ceaca7903b08d4f5869c0528fa30c0f34 (diff)
downloadmongo-8448711a53294688c4af7b688224383302c1b2af.tar.gz
Coverity doesn't like session->name staying set to track the last operation, try copying into a different field instead.
Diffstat (limited to 'src/txn')
-rw-r--r--src/txn/txn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txn/txn.c b/src/txn/txn.c
index d05343501d1..af6dad1cfc8 100644
--- a/src/txn/txn.c
+++ b/src/txn/txn.c
@@ -234,7 +234,7 @@ __wt_txn_refresh(WT_SESSION_IMPL *session, int get_snapshot)
" pinned in session %d [%s]"
" with snap_min %" PRIu64 "\n",
oldest_id, oldest_session,
- conn->sessions[oldest_session].name,
+ conn->sessions[oldest_session].lastop,
conn->sessions[oldest_session].txn.snap_min);
txn_global->oldest_session = oldest_session;
}