diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-08-18 11:58:07 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-08-28 19:09:18 -0400 |
commit | a3a02da6327b4995a75912c4fde4022b089d4947 (patch) | |
tree | 0657fbea3ec55f201754cd7a34b1a0658a5eb8a9 /src/mongo/db/service_entry_point_mongod.cpp | |
parent | c246ae62641c3559c38830f6f5f4981e0acffa0c (diff) | |
download | mongo-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.cpp | 2 |
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 |