Skip to content

Commit

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

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

0 comments on commit c9683cf

Please sign in to comment.