Skip to content
Permalink
Browse files

Mini optimization

  • Loading branch information
m-kuhn committed Mar 25, 2020
1 parent 52bb3fb commit 38c0d637c34eca5a6faaa3d08c4faac0e3b500a2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -3669,7 +3669,7 @@ bool QgsPostgresProvider::getGeometryDetails()
detectedType += QLatin1String( "ZM" );

QString ds = result.PQgetvalue( 0, 1 );
if ( ds != "0" ) detectedSrid = ds;
if ( ds != QLatin1String( "0" ) ) detectedSrid = ds;
mSpatialColType = SctGeometry;
}
else

0 comments on commit 38c0d63

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