File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -622,7 +622,7 @@ bool QgsPostgresProvider::nextFeature( QgsFeature& feature )
622
622
feature.setAttributeMap ( mFeatureQueue .front ().attributeMap () );
623
623
624
624
mFeatureQueue .pop ();
625
-
625
+
626
626
feature.setValid ( true );
627
627
return true ;
628
628
}
@@ -1873,6 +1873,8 @@ bool QgsPostgresProvider::addFeatures( QgsFeatureList & flist )
1873
1873
1874
1874
connectionRW->PQexecNR ( " DEALLOCATE addfeatures" );
1875
1875
connectionRW->PQexecNR ( " COMMIT" );
1876
+
1877
+ featuresCounted += flist.size ();
1876
1878
}
1877
1879
catch ( PGException &e )
1878
1880
{
@@ -1913,6 +1915,8 @@ bool QgsPostgresProvider::deleteFeatures( const QgsFeatureIds & id )
1913
1915
}
1914
1916
1915
1917
connectionRW->PQexecNR ( " COMMIT" );
1918
+
1919
+ featuresCounted -= id.size ();
1916
1920
}
1917
1921
catch ( PGException &e )
1918
1922
{
You can’t perform that action at this time.
0 commit comments