Skip to content

Commit f76f8a9

Browse files
author
jef
committedJun 23, 2009
fix #1744
git-svn-id: http://svn.osgeo.org/qgis/trunk@10969 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 6faf04d commit f76f8a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/providers/postgres/qgspostgresprovider.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1983,8 +1983,9 @@ QByteArray QgsPostgresProvider::paramValue( QString fieldValue, const QString &d
19831983
}
19841984
else
19851985
{
1986+
QString val = QString::fromUtf8( PQgetvalue( result, 0, 0 ) );
19861987
PQclear( result );
1987-
return QString::fromUtf8( PQgetvalue( result, 0, 0 ) ).toUtf8();
1988+
return val.toUtf8();
19881989
}
19891990
}
19901991

0 commit comments

Comments
 (0)
Please sign in to comment.