SERVER-109 basic support for sequential plan scanning with a real query

This commit is contained in:
Aaron
2010-05-20 22:11:46 -07:00
parent 3c2dadcec5
commit b75acdc7fb
2 changed files with 10 additions and 4 deletions

View File

@@ -559,8 +559,7 @@ namespace mongo {
_honorRecordedPlan( honorRecordedPlan ) {
// _fros( ns, query ) {
// eventually implement (some of?) these
// current hint test prevents _or when doing a full query, which we want right now since we need to implement other stuff before turning that on
if ( !order.isEmpty() || ( hint /*&& !hint->eoo()*/ ) || !min.isEmpty() || !max.isEmpty() ) {
if ( !order.isEmpty() || ( hint && !hint->eoo() ) || !min.isEmpty() || !max.isEmpty() ) {
_or = false;
}
if ( !_or ) {