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

(cherry-picked from 66bd813)
  • Loading branch information
nyalldawson committed Apr 17, 2018
1 parent 62aefd7 commit 649dc19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/oracle/qgsoraclefeatureiterator.cpp
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 649dc19

Please sign in to comment.