[QGIS Commit] r13165 - trunk/qgis/src/providers/postgres
svn_qgis at osgeo.org
svn_qgis at osgeo.org
Fri Mar 26 11:31:38 EDT 2010
Author: jef
Date: 2010-03-26 11:31:37 -0400 (Fri, 26 Mar 2010)
New Revision: 13165
Modified:
trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp
Log:
another postgres feature count fix
Modified: trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp
===================================================================
--- trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp 2010-03-26 15:00:43 UTC (rev 13164)
+++ trunk/qgis/src/providers/postgres/qgspostgresprovider.cpp 2010-03-26 15:31:37 UTC (rev 13165)
@@ -736,10 +736,10 @@
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;
More information about the QGIS-commit
mailing list