wassert on extsort

This commit is contained in:
Eliot Horowitz
2009-11-03 13:02:39 -05:00
parent 8b23ad4f68
commit 6fd0beb957

View File

@@ -52,7 +52,8 @@ namespace mongo {
_cur = 0;
}
remove_all( _root );
unsigned long removed = remove_all( _root );
wassert( removed == 1 + _files.size() );
}
void BSONObjExternalSorter::sort(){