summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_entry_point_mongod.cpp
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/service_entry_point_mongod.cpp
parentc246ae62641c3559c38830f6f5f4981e0acffa0c (diff)
downloadmongo-a3a02da6327b4995a75912c4fde4022b089d4947.tar.gz
SERVER-30735 Make DBDirectClient use its own LastError
Diffstat (limited to 'src/mongo/db/service_entry_point_mongod.cpp')
-rw-r--r--src/mongo/db/service_entry_point_mongod.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/service_entry_point_mongod.cpp b/src/mongo/db/service_entry_point_mongod.cpp
index f8ddfda6ec3..37b3d4e51fc 100644
--- a/src/mongo/db/service_entry_point_mongod.cpp
+++ b/src/mongo/db/service_entry_point_mongod.cpp
@@ -1039,7 +1039,7 @@ DbResponse ServiceEntryPointMongod::handleRequest(OperationContext* opCtx, const
if (c.isInDirectClient()) {
invariant(!opCtx->lockState()->inAWriteUnitOfWork());
} else {
- LastError::get(c).startTopLevelRequest();
+ LastError::get(c).startRequest();
AuthorizationSession::get(c)->startRequest(opCtx);
// We should not be holding any locks at this point