Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
make defval const
Co-authored-by: Alessandro Pasotti <elpaso@itopen.it>
  • Loading branch information
2 people authored and nyalldawson committed Oct 21, 2020
1 parent 29ff58e commit 3e00e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/oracle/qgsoracleprovider.cpp
Expand Up @@ -1353,7 +1353,7 @@ bool QgsOracleProvider::addFeatures( QgsFeatureList &flist, QgsFeatureSink::Flag

insert += delim + quotedIdentifier( fld.name() );

QString defVal = defaultValueClause( idx );
const QString defVal = defaultValueClause( idx );

values += delim + '?';
defaultValues.append( defVal );
Expand Down

0 comments on commit 3e00e0c

Please sign in to comment.