Skip to content

Commit

Permalink
Followups
Browse files Browse the repository at this point in the history
(cherry-picked from c3b6990)
  • Loading branch information
nyalldawson committed May 3, 2018
1 parent b6142c8 commit fb16dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoracleprovider.cpp
Expand Up @@ -1301,7 +1301,7 @@ bool QgsOracleProvider::addFeatures( QgsFeatureList &flist, QgsFeatureSink::Flag
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 fb16dab

Please sign in to comment.