cleaning and a small insert optimization

This commit is contained in:
dwight
2011-05-29 00:31:17 -04:00
parent 3d478f18aa
commit 37204c7ca0
9 changed files with 22 additions and 24 deletions

View File

@@ -580,7 +580,7 @@ namespace mongo {
uassert( 13511 , "document to insert can't have $ fields" , e.fieldName()[0] != '$' );
}
}
theDataFileMgr.insertWithObjModNoRet(ns, js, false); // js may be modified in the call to add an _id field.
theDataFileMgr.insertWithObjMod(ns, js, false); // js may be modified in the call to add an _id field.
logOp("i", ns, js);
}