Skip to content

Commit

Permalink
[oracle] Always mark features as invalid when iterator is closed
Browse files Browse the repository at this point in the history
Fixes some failing oracle provider conformance test suite failures
  • Loading branch information
nyalldawson committed Apr 15, 2018
1 parent dc1ab4c commit 66bd813
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/oracle/qgsoraclefeatureiterator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ bool QgsOracleFeatureIterator::fetchFeature( QgsFeature &feature )
{
feature.initAttributes( mSource->mFields.count() );
feature.clearGeometry();
feature.setValid( false );

if ( mRewind )
{
Expand Down

0 comments on commit 66bd813

Please sign in to comment.