summaryrefslogtreecommitdiff
path: root/src/mongo/db/stats/counters.h
diff options
context:
space:
mode:
authorJason Rassi <rassi@10gen.com>2014-06-26 13:30:54 -0400
committerJason Rassi <rassi@10gen.com>2014-06-26 16:13:29 -0400
commit6937b273a7a9db13279161ba3e74259eb89b0d15 (patch)
treece2f85cb556197efe9e4ccd0780a4647a047a9d6 /src/mongo/db/stats/counters.h
parent6dea111420582f580ff8caab2e783b228f4e0f61 (diff)
downloadmongo-6937b273a7a9db13279161ba3e74259eb89b0d15.tar.gz
SERVER-14341 OpCounters missing calls to _checkWrap() added back
Diffstat (limited to 'src/mongo/db/stats/counters.h')
-rw-r--r--src/mongo/db/stats/counters.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mongo/db/stats/counters.h b/src/mongo/db/stats/counters.h
index 805df221036..b0aad7a7ce6 100644
--- a/src/mongo/db/stats/counters.h
+++ b/src/mongo/db/stats/counters.h
@@ -46,13 +46,13 @@ namespace mongo {
public:
OpCounters();
- void incInsertInWriteLock(int n) { _insert.x += n; }
- void gotInsert() { _insert++; }
- void gotQuery() { _query++; }
- void gotUpdate() { _update++; }
- void gotDelete() { _delete++; }
- void gotGetMore() { _getmore++; }
- void gotCommand() { _command++; }
+ void incInsertInWriteLock(int n);
+ void gotInsert();
+ void gotQuery();
+ void gotUpdate();
+ void gotDelete();
+ void gotGetMore();
+ void gotCommand();
void gotOp( int op , bool isCommand );