refactoring runQuery / UserQueryOp part 1

This commit is contained in:
Eliot Horowitz
2010-02-15 22:33:27 -05:00
parent e74ce5f592
commit 62aad0ee18
7 changed files with 239 additions and 114 deletions

View File

@@ -26,13 +26,12 @@
namespace mongo {
// -------- ClusteredCursor -----------
ClusteredCursor::ClusteredCursor( QueryMessage& q ){
_ns = q.ns;
_query = q.query.copy();
_options = q.queryOptions;
if ( q.fields.get() )
_fields = q.fields->getSpec();
_fields = q.fields;
_done = false;
}