summaryrefslogtreecommitdiff
path: root/src/mongo/db/instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/instance.cpp')
-rw-r--r--src/mongo/db/instance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/instance.cpp b/src/mongo/db/instance.cpp
index 57f5cf5fb2b..5d0199aef9a 100644
--- a/src/mongo/db/instance.cpp
+++ b/src/mongo/db/instance.cpp
@@ -830,7 +830,7 @@ namespace {
BSON("create" << nsToCollectionSubstring(ns)));
}
- StatusWith<DiskLoc> status = collection->insertDocument( txn, js, true );
+ StatusWith<RecordId> status = collection->insertDocument( txn, js, true );
uassertStatusOK( status.getStatus() );
repl::logOp(txn, "i", ns, js);
wunit.commit();