Skip to content

Commit 9e71b01

Browse files
committed
show the correct feature's type name in debug messages
1 parent 7028827 commit 9e71b01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/postgres/qgspostgresprovider.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2704,7 +2704,7 @@ bool QgsPostgresProvider::getGeometryDetails()
27042704
QgsDebugMsg( "Requested SRID is " + mRequestedSrid );
27052705
QgsDebugMsg( "Detected type is " + QString::number( mDetectedGeomType ) );
27062706
QgsDebugMsg( "Requested type is " + QString::number( mRequestedGeomType ) );
2707-
QgsDebugMsg( "Feature type name is " + QString( QGis::qgisFeatureTypes[mDetectedGeomType] ) );
2707+
QgsDebugMsg( "Feature type name is " + QString( QGis::qgisFeatureTypes[ geometryType() ] ) );
27082708
QgsDebugMsg( "Geometry is geography " + mIsGeography );
27092709
}
27102710
else

0 commit comments

Comments
 (0)