mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-09 00:05:52 -04:00
another postgres feature count fix
git-svn-id: http://svn.osgeo.org/qgis/trunk@13165 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
fa4eb9f73c
commit
06c7e7b6ff
@ -736,10 +736,10 @@ bool QgsPostgresProvider::nextFeature( QgsFeature& feature )
|
||||
|
||||
if ( mFeatureQueue.empty() )
|
||||
{
|
||||
QgsDebugMsg( "End of features" );
|
||||
QgsDebugMsg( QString( "finished after %1 features" ).arg( mFetched ) );
|
||||
connectionRO->closeCursor( cursorName );
|
||||
mFetching = false;
|
||||
if ( featuresCounted != mFetched )
|
||||
if ( featuresCounted < mFetched )
|
||||
{
|
||||
QgsDebugMsg( QString( "feature count adjusted from %1 to %2" ).arg( featuresCounted ).arg( mFetched ) );
|
||||
featuresCounted = mFetched;
|
||||
|
Loading…
x
Reference in New Issue
Block a user