Skip to content

Commit

Permalink
assert size
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed May 21, 2021
1 parent ef3e213 commit 130aa80
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/postgres/qgspostgresconn.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 130aa80

Please sign in to comment.