Skip to content

Commit

Permalink
do not transform toString to quote values (NULL integer becomes 0 oth…
Browse files Browse the repository at this point in the history
…erwise)
  • Loading branch information
3nids authored and m-kuhn committed Jul 30, 2014
1 parent 0241d4f commit b357a66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -1676,7 +1676,7 @@ bool QgsPostgresProvider::addFeatures( QgsFeatureList &flist )
}
else
{
values += delim + quotedValue( v.toString() );
values += delim + quotedValue( v );
}
}
else
Expand Down

4 comments on commit b357a66

@nyalldawson
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@3nids
Copy link
Member Author

@3nids 3nids commented on b357a66 Jul 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nyalldawson I think so

@m-kuhn
Copy link
Member

@m-kuhn m-kuhn commented on b357a66 Jul 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testing...

@m-kuhn
Copy link
Member

@m-kuhn m-kuhn commented on b357a66 Jul 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done in ed14cf3

Please sign in to comment.