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

(cherry-picked from 66bd813)
  • Loading branch information
nyalldawson committed Apr 17, 2018
1 parent 62aefd7 commit 649dc19af4362d48457321797ff2283fa4ce084e
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 649dc19

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