Skip to content

Commit

Permalink
Followups
Browse files Browse the repository at this point in the history
(cherry-picked from fb16dab)
  • Loading branch information
nyalldawson committed May 24, 2018
1 parent c9683cf commit 3921bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoracleprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,7 @@ bool QgsOracleProvider::addFeatures( QgsFeatureList &flist )
QVariant value = attributevec[ fieldId[i] ];

QString v;
if ( !value.isValid() || value.isNull() )
if ( value.isNull() )
{
if ( mPrimaryKeyAttrs.contains( i ) && !defaultValues.at( i ).isEmpty() )
{
Expand Down

0 comments on commit 3921bf5

Please sign in to comment.