Skip to content

Commit

Permalink
[oracle] Fix incorrect feature count after adding features to layers
Browse files Browse the repository at this point in the history
(cherry-picked from bbd335a)
  • Loading branch information
nyalldawson committed May 3, 2018
1 parent befed4d commit b6142c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/oracle/qgsoracleprovider.cpp
Expand Up @@ -1391,7 +1391,8 @@ bool QgsOracleProvider::addFeatures( QgsFeatureList &flist, QgsFeatureSink::Flag
}
}

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

0 comments on commit b6142c8

Please sign in to comment.