Skip to content
Permalink
Browse files
assert size
  • Loading branch information
elpaso committed May 21, 2021
1 parent ef3e213 commit 130aa80fb46ca61875eefbd55959e77da1cda30a
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/providers/postgres/qgspostgresconn.cpp
@@ -2062,6 +2062,7 @@ void QgsPostgresConn::retrieveLayerTypes( QVector<QgsPostgresLayerProperty *> &l
continue;

const QStringList sridAndType = sridAndTypeString.split( ':' );
Q_ASSERT( sridAndType.size() == 3 );
const int srid = sridAndType[0].toInt();
QString typeString = sridAndType[1];
const int zmFlags = sridAndType[2].toInt();

0 comments on commit 130aa80

Please sign in to comment.