summaryrefslogtreecommitdiff
path: root/src/mongo/db/lasterror.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2016-04-07 18:34:44 -0400
committerMathias Stearn <mathias@10gen.com>2016-04-21 18:58:41 -0400
commitd819ac65d1a0f941bd3e201f343ac04e252c4442 (patch)
treea531131c01f3816094d34cd845cfd71aec2e3459 /src/mongo/db/lasterror.h
parenta7a593da31a944c90d7c5f0422eeee8264eb438d (diff)
downloadmongo-d819ac65d1a0f941bd3e201f343ac04e252c4442.tar.gz
SERVER-23128 Refactor mongod write operations
Now both write commands and legacy writes share an implementation.
Diffstat (limited to 'src/mongo/db/lasterror.h')
-rw-r--r--src/mongo/db/lasterror.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mongo/db/lasterror.h b/src/mongo/db/lasterror.h
index e6f65e4aed7..27ce978d2b6 100644
--- a/src/mongo/db/lasterror.h
+++ b/src/mongo/db/lasterror.h
@@ -65,8 +65,6 @@ public:
*/
void setLastError(int code, std::string msg);
- void recordInsert(long long nObjects);
-
void recordUpdate(bool updateObjects, long long nObjects, BSONObj upsertedId);
void recordDelete(long long nDeleted);
@@ -84,7 +82,7 @@ public:
bool isValid() const {
return _valid;
}
- int const getNPrev() const {
+ int getNPrev() const {
return _nPrev;
}