Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[oracle] Always mark features as invalid when iterator is closed
Fixes some failing oracle provider conformance test suite failures

(cherry-picked from 649dc19)
  • Loading branch information
nyalldawson committed May 24, 2018
1 parent 03e3815 commit f5a9e6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/oracle/qgsoraclefeatureiterator.cpp
Expand Up @@ -245,6 +245,7 @@ bool QgsOracleFeatureIterator::fetchFeature( QgsFeature& feature )
{
feature.initAttributes( mSource->mFields.count() );
feature.setGeometry( 0 );
feature.setValid( false );

if ( mRewind )
{
Expand Down

0 comments on commit f5a9e6b

Please sign in to comment.