Skip to content
Permalink
Browse files

Fix style and indentation isssues introduced in 6b3651f

  • Loading branch information
SebDieBln committed Nov 15, 2015
1 parent 6b3651f commit d9bbce65dacea8c09ced375bf35d6bb7711229a1
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/providers/postgres/qgspostgresprovider.cpp
@@ -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 )
{
@@ -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;
}

0 comments on commit d9bbce6

Please sign in to comment.
You can’t perform that action at this time.