mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
comment
This commit is contained in:
parent
0482bced01
commit
ee7f6dd929
@ -357,7 +357,7 @@ namespace mongo {
|
||||
_cursors = 0;
|
||||
|
||||
if ( ! _sortKey.isEmpty() && ! _fields.isEmpty() ) {
|
||||
// we need to make sure the sort key is in the project
|
||||
// we need to make sure the sort key is in the projection
|
||||
|
||||
set<string> sortKeyFields;
|
||||
_sortKey.getFieldNames(sortKeyFields);
|
||||
|
Loading…
Reference in New Issue
Block a user