summaryrefslogtreecommitdiff
path: root/src/mongo/db/lasterror.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2017-08-18 11:58:07 -0400
committerMathias Stearn <mathias@10gen.com>2017-08-28 19:09:18 -0400
commita3a02da6327b4995a75912c4fde4022b089d4947 (patch)
tree0657fbea3ec55f201754cd7a34b1a0658a5eb8a9 /src/mongo/db/lasterror.h
parentc246ae62641c3559c38830f6f5f4981e0acffa0c (diff)
downloadmongo-a3a02da6327b4995a75912c4fde4022b089d4947.tar.gz
SERVER-30735 Make DBDirectClient use its own LastError
Diffstat (limited to 'src/mongo/db/lasterror.h')
-rw-r--r--src/mongo/db/lasterror.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/mongo/db/lasterror.h b/src/mongo/db/lasterror.h
index ee450089595..8c5a5d3bfb3 100644
--- a/src/mongo/db/lasterror.h
+++ b/src/mongo/db/lasterror.h
@@ -50,14 +50,9 @@ public:
void reset(bool valid = false);
/**
- * when db receives a top level message/request, call this
+ * when db receives a message/request, call this
*/
- void startTopLevelRequest();
-
- /**
- * when DBDirectClient receives a message/request, call this
- */
- void startDirectClientRequest();
+ void startRequest();
/**
* Disables error recording for the current operation.