Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
postgres provider: avoid noise when layer_style table doesn't exist
  • Loading branch information
jef-n committed May 14, 2013
1 parent 47daaa0 commit 38d63d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -3389,7 +3389,7 @@ QGISEXTERN QString loadStyle( const QString& uri, QString& errCause )
.arg( QgsPostgresConn::quotedValue( dsUri.table() ) )
.arg( QgsPostgresConn::quotedValue( dsUri.geometryColumn() ) );

QgsPostgresResult result = conn->PQexec( selectQmlQuery );
QgsPostgresResult result = conn->PQexec( selectQmlQuery, false );

return result.PQntuples() == 1 ? result.PQgetvalue( 0, 0 ) : "";
}
Expand Down

0 comments on commit 38d63d1

Please sign in to comment.