diff options
Diffstat (limited to 'src/mongo/db/commands/test_commands.cpp')
-rw-r--r-- | src/mongo/db/commands/test_commands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/commands/test_commands.cpp b/src/mongo/db/commands/test_commands.cpp index cb1245508da..28ed71e00e8 100644 --- a/src/mongo/db/commands/test_commands.cpp +++ b/src/mongo/db/commands/test_commands.cpp @@ -79,7 +79,7 @@ namespace mongo { return false; } } - StatusWith<DiskLoc> res = collection->insertDocument( txn, obj, false ); + StatusWith<RecordId> res = collection->insertDocument( txn, obj, false ); Status status = res.getStatus(); if (status.isOK()) { wunit.commit(); @@ -156,7 +156,7 @@ namespace mongo { Collection* collection = ctx.getCollection(); massert( 13417, "captrunc collection not found or empty", collection); - DiskLoc end; + RecordId end; { boost::scoped_ptr<PlanExecutor> exec(InternalPlanner::collectionScan(txn, nss.ns(), |