Skip to content

Commit

Permalink
postgres provider: don't log expected failure (followup 6b3651f)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Feb 12, 2016
1 parent c7a0543 commit a111889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3087,7 +3087,7 @@ bool QgsPostgresProvider::getGeometryDetails()
{
sql = QString( "SELECT (SELECT t.typname FROM pg_type t WHERE oid = %1), upper(postgis_typmod_type(%2)), postgis_typmod_srid(%2)" )
.arg( QString::number( result.PQftype( 0 ) ), QString::number( result.PQfmod( 0 ) ) );
result = connectionRO()->PQexec( sql );
result = connectionRO()->PQexec( sql, false );
if ( result.PQntuples() == 1 )
{
geomColType = result.PQgetvalue( 0, 0 );
Expand Down

0 comments on commit a111889

Please sign in to comment.