Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Incomplete
-
None
-
None
-
ALL
Description
Implement what I described here:
if ( _impossible ) {
|
// TODO We might want to allow this dummy table scan even in no table
|
// scan mode, since it won't scan anything.
|
if ( _frs.nNontrivialRanges() )
|
checkTableScanAllowed( _frs.ns() );
|
return shared_ptr<Cursor>( new BasicCursor( DiskLoc() ) );
|
}
|
Also audit additional notablescan functionality (see SERVER-2222).
Attachments
Issue Links
- is related to
-
SERVER-2222 notablescan mode neglects to fail some table scan queries
-
- Backlog
-
- related to
-
SERVER-4317 index not used when argument to $in is empty array
-
- Closed
-