Skip to content
Permalink
Browse files

[postgres] Distinguish empty and NULL values

  • Loading branch information
m-kuhn committed Oct 27, 2017
1 parent 071099c commit 3b0b82cbe5610818853270071c3aff7f9a18a04d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -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() )
{

0 comments on commit 3b0b82c

Please sign in to comment.
You can’t perform that action at this time.