summaryrefslogtreecommitdiff
path: root/src/mongo/shell/db.js
diff options
context:
space:
mode:
authorMisha Tyulenev <misha@mongodb.com>2017-05-05 16:27:17 -0400
committerMisha Tyulenev <misha@mongodb.com>2017-05-05 21:34:09 -0400
commit2c18910e75b78ed228ea5f600f51ca4fa6f1aaf6 (patch)
treeb421ac68ae0b5fd2371d758290c147af276b9e4b /src/mongo/shell/db.js
parent08d78a999b3d28f220a9e39e5e393f995d300caf (diff)
downloadmongo-2c18910e75b78ed228ea5f600f51ca4fa6f1aaf6.tar.gz
SERVER-28968: Add causal consistent passthrough suite
Diffstat (limited to 'src/mongo/shell/db.js')
-rw-r--r--src/mongo/shell/db.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/shell/db.js b/src/mongo/shell/db.js
index 0d40a924c0c..68c4ccf2aad 100644
--- a/src/mongo/shell/db.js
+++ b/src/mongo/shell/db.js
@@ -111,7 +111,7 @@ var DB;
// runCommand uses this impl to actually execute the command
DB.prototype._runCommandImpl = function(name, obj, options) {
- return this.getMongo().runCausalConsistentCommand(name, obj, options);
+ return this.getMongo().runCommand(name, obj, options);
};
DB.prototype.runCommand = function(obj, extra, queryOptions) {
@@ -136,7 +136,7 @@ var DB;
};
DB.prototype.runCommandWithMetadata = function(commandName, commandArgs, metadata) {
- return this.getMongo().runCausalConsistentCommandWithMetadata(
+ return this.getMongo().runCommandWithMetadata(
this._name, commandName, metadata, commandArgs);
};