Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[postgres] Distinguish empty and NULL values
  • Loading branch information
m-kuhn committed Oct 28, 2017
1 parent 071099c commit 3b0b82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -2050,7 +2050,7 @@ bool QgsPostgresProvider::addFeatures( QgsFeatureList &flist, Flags flags )

if ( i == flist.size() )
{
if ( v == defVal )
if ( v == defVal && defVal.isNull() == v.isNull() )
{
if ( defVal.isNull() )
{
Expand Down

0 comments on commit 3b0b82c

Please sign in to comment.