refactoring runQuery / UserQueryOp part 1
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user