diff options
Diffstat (limited to 'src/mongo/db/db.cpp')
-rw-r--r-- | src/mongo/db/db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/db.cpp b/src/mongo/db/db.cpp index 0ab4437f521..64446785910 100644 --- a/src/mongo/db/db.cpp +++ b/src/mongo/db/db.cpp @@ -218,7 +218,7 @@ void logStartup(OperationContext* opCtx) { invariant(collection); OpDebug* const nullOpDebug = nullptr; - uassertStatusOK(collection->insertDocument(opCtx, o, nullOpDebug, false)); + uassertStatusOK(collection->insertDocument(opCtx, InsertStatement(o), nullOpDebug, false)); wunit.commit(); } |