diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-06-29 11:01:24 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-06-29 11:01:24 -0400 |
commit | bdd22abc84a2206c48976fcb5516dbf8f4d345d2 (patch) | |
tree | c650cdd3a7bd11cc102043c0da057fcf6dacfe21 | |
parent | 3bda11579bb9ac6cef26e6205c204ff6697c2ab6 (diff) | |
download | mongo-bdd22abc84a2206c48976fcb5516dbf8f4d345d2.tar.gz |
add nojournal option to 1.8
-rw-r--r-- | db/db.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/db/db.cpp b/db/db.cpp index 579b4a1acb9..50c865c9443 100644 --- a/db/db.cpp +++ b/db/db.cpp @@ -699,6 +699,7 @@ int main(int argc, char* argv[]) { ("pairwith", po::value<string>(), "address of server to pair with DEPRECATED") ("arbiter", po::value<string>(), "address of replica pair arbiter server DEPRECATED") ("nodur", "disable journaling (currently the default)") + ("nojournal", "disable journaling (currently the default)") ("appsrvpath", po::value<string>(), "root directory for the babble app server") ("nocursors", "diagnostic/debugging option that turns off cursors DO NOT USE IN PRODUCTION") ("nohints", "ignore query hints") @@ -800,6 +801,9 @@ int main(int argc, char* argv[]) { if( params.count("nodur") ) { cmdLine.dur = false; } + if( params.count("nojournal") ) { + cmdLine.dur = false; + } if( params.count("dur") || params.count( "journal" ) ) { cmdLine.dur = true; } |