diff options
author | Randolph Tan <randolph@10gen.com> | 2013-11-08 13:47:08 -0500 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2013-11-11 17:06:14 -0500 |
commit | a2dbf35932d0cdd1fe54eb11a36f9bcde60b7333 (patch) | |
tree | e5778ab2ab385f1d9fd5171d45ee9d8e23dcfd21 /src/mongo/shell/shell_utils.cpp | |
parent | b3af50b16b97b1db9711e8fa8ece33d3e001566b (diff) | |
download | mongo-a2dbf35932d0cdd1fe54eb11a36f9bcde60b7333.tar.gz |
SERVER-11627 Make the shell use write commands by default
Append --useLegacyWriteOps when running mongo shell.
Diffstat (limited to 'src/mongo/shell/shell_utils.cpp')
-rw-r--r-- | src/mongo/shell/shell_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/shell_utils.cpp b/src/mongo/shell/shell_utils.cpp index 1dcafa162de..69abe910d42 100644 --- a/src/mongo/shell/shell_utils.cpp +++ b/src/mongo/shell/shell_utils.cpp @@ -176,7 +176,7 @@ namespace mongo { } void initScope( Scope &scope ) { - // Need to define this method before JSFiles::mongo is executed. + // Need to define this method before JSFiles::utils is executed. scope.injectNative("_useWriteCommandsDefault", useWriteCommandsDefault); scope.externalSetup(); mongo::shell_utils::installShellUtils( scope ); |