Skip to content

Commit

Permalink
Revert "[ogr] Ignore request limit if unable to compile expression"
Browse files Browse the repository at this point in the history
This reverts commit e7333f6.
  • Loading branch information
m-kuhn committed Oct 31, 2016
1 parent e7333f6 commit 25e9834
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/providers/ogr/qgsogrfeatureiterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,6 @@ QgsOgrFeatureIterator::QgsOgrFeatureIterator( QgsOgrFeatureSource* source, bool
OGR_L_SetAttributeFilter( ogrLayer, nullptr );
}

if ( !mExpressionCompiled )
mRequest.setLimit( -1 );

//start with first feature
rewind();
}
Expand Down

0 comments on commit 25e9834

Please sign in to comment.