diff options
author | Benety Goh <benety@mongodb.com> | 2018-12-20 10:38:34 -0500 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2018-12-20 10:38:34 -0500 |
commit | 8f64177ceed4bbe2ff4dc7275306a0d2151388fd (patch) | |
tree | db8f5ae4deb29e82d63b6f653eb7632d2b66b22b /src/mongo/scripting/mozjs/session.h | |
parent | d0ff20fa00e17a30f2518d556147b178bbefab28 (diff) | |
download | mongo-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.h | 6 |
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; |