diff options
author | Misha Tyulenev <misha@mongodb.com> | 2017-09-21 15:12:56 -0400 |
---|---|---|
committer | Misha Tyulenev <misha@mongodb.com> | 2017-09-22 15:27:13 -0400 |
commit | c4b90fe5509eb70e4009e0d7ddbd71b4b92d0274 (patch) | |
tree | 0aa8cf3e65d03f0d26ade7e56fddbaebc0981b1b /src/mongo/scripting | |
parent | 9b90669185b95ff2f868b4fab8b3be3273fa2801 (diff) | |
download | mongo-c4b90fe5509eb70e4009e0d7ddbd71b4b92d0274.tar.gz |
SERVER-31202 add support for get/setClusterTime to local shell client
Diffstat (limited to 'src/mongo/scripting')
-rw-r--r-- | src/mongo/scripting/mozjs/mongo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/scripting/mozjs/mongo.cpp b/src/mongo/scripting/mozjs/mongo.cpp index 936d0a92eb0..0fab2723dfb 100644 --- a/src/mongo/scripting/mozjs/mongo.cpp +++ b/src/mongo/scripting/mozjs/mongo.cpp @@ -84,8 +84,8 @@ const JSFunctionSpec MongoBase::methods[] = { getMinWireVersion, MongoLocalInfo, MongoExternalInfo), MONGO_ATTACH_JS_CONSTRAINED_METHOD_NO_PROTO( getMaxWireVersion, MongoLocalInfo, MongoExternalInfo), - MONGO_ATTACH_JS_CONSTRAINED_METHOD_NO_PROTO(getClusterTime, MongoExternalInfo), - MONGO_ATTACH_JS_CONSTRAINED_METHOD_NO_PROTO(setClusterTime, MongoExternalInfo), + MONGO_ATTACH_JS_CONSTRAINED_METHOD_NO_PROTO(getClusterTime, MongoLocalInfo, MongoExternalInfo), + MONGO_ATTACH_JS_CONSTRAINED_METHOD_NO_PROTO(setClusterTime, MongoLocalInfo, MongoExternalInfo), MONGO_ATTACH_JS_CONSTRAINED_METHOD_NO_PROTO(_startSession, MongoLocalInfo, MongoExternalInfo), JS_FS_END, }; |