summaryrefslogtreecommitdiff
path: root/src/mongo/db/db.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/db.cpp')
-rw-r--r--src/mongo/db/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp
index d7e69a0c5ca..61678070dcf 100644
--- a/src/mongo/db/db.cpp
+++ b/src/mongo/db/db.cpp
@@ -157,13 +157,13 @@ namespace mongo {
}
virtual void process(Message& m , AbstractMessagingPort* port) {
- OperationContextImpl txn;
while ( true ) {
if ( inShutdown() ) {
log() << "got request after shutdown()" << endl;
break;
}
+ OperationContextImpl txn;
DbResponse dbresponse;
assembleResponse(&txn, m, dbresponse, port->remote());