Skip to content
Permalink
Browse files

[oracle] Fix incorrect feature count after adding features to layers

(cherry-picked from bbd335a)
  • Loading branch information
nyalldawson committed May 3, 2018
1 parent befed4d commit b6142c839cf54975a9e2b116af36ae10c9addfaf
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/providers/oracle/qgsoracleprovider.cpp
@@ -1391,7 +1391,8 @@ bool QgsOracleProvider::addFeatures( QgsFeatureList &flist, QgsFeatureSink::Flag
}
}

mFeaturesCounted += flist.size();
if ( mFeaturesCounted >= 0 )
mFeaturesCounted += flist.size();
}
catch ( OracleException &e )
{

0 comments on commit b6142c8

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