Skip to content

Commit

Permalink
Fix style and indentation isssues introduced in 6b3651f
Browse files Browse the repository at this point in the history
  • Loading branch information
SebDieBln committed Nov 15, 2015
1 parent 6b3651f commit d9bbce6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/providers/postgres/qgspostgresprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2915,7 +2915,7 @@ bool QgsPostgresProvider::getGeometryDetails()
if ( PGRES_TUPLES_OK == result.PQresultStatus() )
{
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 ) ) );
.arg( QString::number( result.PQftype( 0 ) ), QString::number( result.PQfmod( 0 ) ) );
result = connectionRO()->PQexec( sql );
if ( result.PQntuples() == 1 )
{
Expand All @@ -2930,7 +2930,8 @@ bool QgsPostgresProvider::getGeometryDetails()
mSpatialColType = sctTopoGeometry;
else if ( geomColType == "pcpatch" )
mSpatialColType = sctPcPatch;
else {
else
{
detectedType = mRequestedGeomType == QGis::WKBUnknown ? "" : QgsPostgresConn::postgisWkbTypeName( mRequestedGeomType );
detectedSrid = mRequestedSrid;
}
Expand Down

0 comments on commit d9bbce6

Please sign in to comment.