diff options
author | Jason Carey <jcarey@argv.me> | 2019-01-03 16:38:26 -0500 |
---|---|---|
committer | Jason Carey <jcarey@argv.me> | 2019-02-10 12:23:19 -0500 |
commit | 21b5477520744ca02e1574160caa31e0633849dd (patch) | |
tree | 36f351a91a195a633c9cc495f6249057497249ff /src/mongo/db/commands/mr.cpp | |
parent | c922cb18516981ceca59993331296d102f4e01fb (diff) | |
download | mongo-21b5477520744ca02e1574160caa31e0633849dd.tar.gz |
SERVER-39183 honor socket disconnect in $where
Diffstat (limited to 'src/mongo/db/commands/mr.cpp')
-rw-r--r-- | src/mongo/db/commands/mr.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/commands/mr.cpp b/src/mongo/db/commands/mr.cpp index 450fe0c53dc..c9867cb05e9 100644 --- a/src/mongo/db/commands/mr.cpp +++ b/src/mongo/db/commands/mr.cpp @@ -253,7 +253,6 @@ void JSMapper::map(const BSONObj& o) { BSONObj JSFinalizer::finalize(const BSONObj& o) { Scope* s = _func.scope(); - Scope::NoDBAccess no = s->disableDBAccess("can't access db inside finalize"); s->invokeSafe(_func.func(), &o, 0); // We don't want to use o.objsize() to size b since there are many cases where the point of |