Skip to content
Permalink
Browse files
[ogr] Ignore request limit if unable to compile expression
Fix #15771
  • Loading branch information
m-kuhn committed Oct 31, 2016
1 parent 1b2158d commit e7333f68145f27a74aacd8f75939623e37fc4510
Showing 1 changed file with 3 additions and 0 deletions.
@@ -149,6 +149,9 @@ QgsOgrFeatureIterator::QgsOgrFeatureIterator( QgsOgrFeatureSource* source, bool
OGR_L_SetAttributeFilter( ogrLayer, nullptr );
}

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

//start with first feature
rewind();
}

0 comments on commit e7333f6

Please sign in to comment.