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 649dc19)
  • Loading branch information
nyalldawson committed Apr 15, 2018
1 parent 03e3815 commit f5a9e6b3dd66021be7ec5d2c025ad8da5cff914b
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/providers/oracle/qgsoraclefeatureiterator.cpp
@@ -245,6 +245,7 @@ bool QgsOracleFeatureIterator::fetchFeature( QgsFeature& feature )
{
feature.initAttributes( mSource->mFields.count() );
feature.setGeometry( 0 );
feature.setValid( false );

if ( mRewind )
{

0 comments on commit f5a9e6b

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