Skip to content

Commit

Permalink
Mini optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Mar 25, 2020
1 parent 52bb3fb commit 38c0d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 38c0d63

Please sign in to comment.