This commit is contained in:
dwight
2010-12-06 09:47:10 -05:00
parent b7eaac286e
commit 8769a24704

View File

@@ -583,7 +583,7 @@ namespace mongo {
BSONObjIterator i( js );
while ( i.more() ){
BSONElement e = i.next();
uassert( 13511 , "object to insert can't have $ mofidiers" , e.fieldName()[0] != '$' );
uassert( 13511 , "object to insert can't have $ modifiers" , e.fieldName()[0] != '$' );
}
}
theDataFileMgr.insertWithObjMod(ns, js, false);