Skip to content
Permalink
Browse files
fix gcc compile error
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8219 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 13, 2008
1 parent 022c938 commit 1156b00aadf0dcd4a64359b52b4f74cbbbb18f68
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -1693,7 +1693,7 @@ QVariant QgsPostgresProvider::getDefaultValue(int fieldId)
" AND table_name = " + quotedValue(mTableName) +
" AND column_name = " + quotedValue(fieldName) );

QVariant defaultValue = QString::null;
QVariant defaultValue(QString::null);

PGresult* result = PQexec(connection, sql.toUtf8());

0 comments on commit 1156b00

Please sign in to comment.