summaryrefslogtreecommitdiff
path: root/src/mongo/shell
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2015-05-28 12:15:47 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2015-05-28 12:15:47 -0400
commit610fab503c216c163c568065a861c2ef95513b3d (patch)
treed187b31340a843b2e1df849a81ff9ddbc9fb7236 /src/mongo/shell
parent3bec3c4ec50342ecf3bec7f0581b8479ab27aa04 (diff)
downloadmongo-610fab503c216c163c568065a861c2ef95513b3d.tar.gz
SERVER-17861 Change the default storage engine to wiredTiger.
WiredTiger is used as the default storage engine if the dbpath does not contain any data files. Otherwise, the storage engine specified in the storage.bson metadata file is used when the --storageEngine flag is omitted from the command line invocation.
Diffstat (limited to 'src/mongo/shell')
-rwxr-xr-xsrc/mongo/shell/servers.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/shell/servers.js b/src/mongo/shell/servers.js
index c4ec1491a1f..1da9db35ffe 100755
--- a/src/mongo/shell/servers.js
+++ b/src/mongo/shell/servers.js
@@ -882,6 +882,7 @@ startMongoProgram = function(){
runMongoProgram = function() {
var args = argumentsToArray( arguments );
+ args = appendSetParameterArgs(args);
var progName = args[0];
if ( jsTestOptions().auth ) {
@@ -907,6 +908,7 @@ runMongoProgram = function() {
// command line arguments to the program. Returns pid of the spawned program.
startMongoProgramNoConnect = function() {
var args = argumentsToArray( arguments );
+ args = appendSetParameterArgs(args);
var progName = args[0];
if ( jsTestOptions().auth ) {