Skip to content
Permalink
Browse files

do not transform toString to quote values (NULL integer becomes 0 oth…

…erwise)
  • Loading branch information
3nids authored and m-kuhn committed Jul 30, 2014
1 parent 0241d4f commit b357a666524c207917cf2f0c9ee991eaef5b09f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -1676,7 +1676,7 @@ bool QgsPostgresProvider::addFeatures( QgsFeatureList &flist )
}
else
{
values += delim + quotedValue( v.toString() );
values += delim + quotedValue( v );
}
}
else

4 comments on commit b357a66

@nyalldawson

This comment has been minimized.

Copy link
Collaborator

@nyalldawson nyalldawson replied Jul 30, 2014

@m-kuhn @3nids should this fix be backported to 2.4?

@3nids

This comment has been minimized.

Copy link
Member Author

@3nids 3nids replied Jul 30, 2014

@nyalldawson I think so

@m-kuhn

This comment has been minimized.

Copy link
Member

@m-kuhn m-kuhn replied Jul 30, 2014

testing...

@m-kuhn

This comment has been minimized.

Copy link
Member

@m-kuhn m-kuhn replied Jul 30, 2014

done in ed14cf3

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