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
  • Loading branch information
nyalldawson committed Apr 26, 2018
1 parent 3a3b0fe commit bbd335a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/oracle/qgsoracleprovider.cpp
Original file line number Diff line number Diff line change
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 bbd335a

Please sign in to comment.