Skip to content
Permalink
Browse files

[oracle] Always mark features as invalid when iterator is closed

Fixes some failing oracle provider conformance test suite failures
  • Loading branch information
nyalldawson committed Apr 15, 2018
1 parent dc1ab4c commit 66bd813b79e6faef0a698e96f2b65640db7f31d7
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/providers/oracle/qgsoraclefeatureiterator.cpp
@@ -258,6 +258,7 @@ bool QgsOracleFeatureIterator::fetchFeature( QgsFeature &feature )
{
feature.initAttributes( mSource->mFields.count() );
feature.clearGeometry();
feature.setValid( false );

if ( mRewind )
{

0 comments on commit 66bd813

Please sign in to comment.
You can’t perform that action at this time.