summaryrefslogtreecommitdiff
path: root/src/mongo/scripting/mozjs/session.h
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2018-12-20 10:38:34 -0500
committerBenety Goh <benety@mongodb.com>2018-12-20 10:38:34 -0500
commit8f64177ceed4bbe2ff4dc7275306a0d2151388fd (patch)
treedb8f5ae4deb29e82d63b6f653eb7632d2b66b22b /src/mongo/scripting/mozjs/session.h
parentd0ff20fa00e17a30f2518d556147b178bbefab28 (diff)
downloadmongo-8f64177ceed4bbe2ff4dc7275306a0d2151388fd.tar.gz
Revert "SERVER-36902 Abort transaction on shell exit"
This reverts commit 759846ffced5ef84734bd917a99061edf44dd786.
Diffstat (limited to 'src/mongo/scripting/mozjs/session.h')
-rw-r--r--src/mongo/scripting/mozjs/session.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mongo/scripting/mozjs/session.h b/src/mongo/scripting/mozjs/session.h
index 845fdb34d35..82f071d4241 100644
--- a/src/mongo/scripting/mozjs/session.h
+++ b/src/mongo/scripting/mozjs/session.h
@@ -48,13 +48,9 @@ struct SessionInfo : public BaseInfo {
struct Functions {
MONGO_DECLARE_JS_FUNCTION(end);
MONGO_DECLARE_JS_FUNCTION(getId);
- MONGO_DECLARE_JS_FUNCTION(getTxnState);
- MONGO_DECLARE_JS_FUNCTION(setTxnState);
- MONGO_DECLARE_JS_FUNCTION(getTxnNumber);
- MONGO_DECLARE_JS_FUNCTION(incrementTxnNumber);
};
- static const JSFunctionSpec methods[7];
+ static const JSFunctionSpec methods[3];
static const char* const className;
static const unsigned classFlags = JSCLASS_HAS_PRIVATE;