summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/implscope.h
diff options
context:
space:
mode:
authorMatt Cotter <matt.cotter@mongodb.com>2016-07-27 15:28:24 -0400
committerMatt Cotter <matt.cotter@mongodb.com>2016-08-09 13:34:38 -0400
commit9ca2c6dcc96cf826b0ef06a8cb1590ec2bcaa8a1 (patch)
tree985601f813d360378dfc9db51b9358cc196f841a /src/mongo/scripting/mozjs/implscope.h
parent43ab2d9e0bc0239fef22883e75249deebe384e03 (diff)
downloadmongo-9ca2c6dcc96cf826b0ef06a8cb1590ec2bcaa8a1.tar.gz
SERVER-25056 implscope checks interruptability against opctx
Diffstat (limited to 'src/mongo/scripting/mozjs/implscope.h')
-rw-r--r--src/mongo/scripting/mozjs/implscope.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/scripting/mozjs/implscope.h b/src/mongo/scripting/mozjs/implscope.h
index 59aaa297ff0..d8225bffdde 100644
--- a/src/mongo/scripting/mozjs/implscope.h
+++ b/src/mongo/scripting/mozjs/implscope.h
@@ -366,6 +366,7 @@ private:
std::string _error;
unsigned int _opId; // op id for this scope
OperationContext* _opCtx; // Op context for DbEval
+ std::size_t _inOp;
std::atomic<bool> _pendingGC;
ConnectState _connectState;
Status _status;