We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent fa4eb9f commit 06c7e7bCopy full SHA for 06c7e7b
src/providers/postgres/qgspostgresprovider.cpp
@@ -736,10 +736,10 @@ bool QgsPostgresProvider::nextFeature( QgsFeature& feature )
736
737
if ( mFeatureQueue.empty() )
738
{
739
- QgsDebugMsg( "End of features" );
+ QgsDebugMsg( QString( "finished after %1 features" ).arg( mFetched ) );
740
connectionRO->closeCursor( cursorName );
741
mFetching = false;
742
- if ( featuresCounted != mFetched )
+ if ( featuresCounted < mFetched )
743
744
QgsDebugMsg( QString( "feature count adjusted from %1 to %2" ).arg( featuresCounted ).arg( mFetched ) );
745
featuresCounted = mFetched;
0 commit comments