summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2018-12-20 11:17:42 -0500
committerGregory Wlodarek <gregory.wlodarek@mongodb.com>2018-12-21 18:25:22 -0500
commit5dfeeb8546852a86440b0d9368a065f0aa5e4e08 (patch)
tree7927e2dbbf6afb7e801f78062285e9ac94539ac0
parent44e5e5ea0991753833488236cd386ab512d4a93c (diff)
downloadmongo-5dfeeb8546852a86440b0d9368a065f0aa5e4e08.tar.gz
SERVER-38434 add missing comma to _openWiredTiger config
(cherry picked from commit a171bb5a032ccbed77b1a547ac46bda1894b5429)
-rw-r--r--src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
index 8b7ea4d6dae..ab4c5d0e585 100644
--- a/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
+++ b/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp
@@ -236,7 +236,7 @@ WiredTigerKVEngine::WiredTigerKVEngine(const std::string& canonicalName,
ss << extraOpenOptions;
if (_readOnly) {
invariant(!_durable);
- ss << "readonly=true,";
+ ss << ",readonly=true,";
}
if (!_durable && !_readOnly) {
// If we started without the journal, but previously used the journal then open with the