diff options
Diffstat (limited to 'db/commands/mr.cpp')
-rw-r--r-- | db/commands/mr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/commands/mr.cpp b/db/commands/mr.cpp index 56e9770..b79e62b 100644 --- a/db/commands/mr.cpp +++ b/db/commands/mr.cpp @@ -1119,6 +1119,7 @@ namespace mongo { virtual LockType locktype() const { return NONE; } bool run(const string& dbname , BSONObj& cmdObj, int, string& errmsg, BSONObjBuilder& result, bool) { + ShardedConnectionInfo::addHook(); string shardedOutputCollection = cmdObj["shardedOutputCollection"].valuestrsafe(); string postProcessCollection = cmdObj["postProcessCollection"].valuestrsafe(); bool postProcessOnly = !(postProcessCollection.empty()); |