Skip to content
Permalink
Browse files

[processing] fix loading geometryless tables with PostGISExecuteAndLo…

…adSQL in qgsdatasourceuri
  • Loading branch information
jdlom authored and nyalldawson committed Dec 28, 2020
1 parent fcd9886 commit 71eed6e383b27ab8890dcadf7825022019edfda9
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsdatasourceuri.cpp
@@ -584,7 +584,7 @@ QString QgsDataSourceUri::uri( bool expandAuthConfig ) const
{
uri += QStringLiteral( " table=%1%2" )
.arg( quotedTablename(),
mGeometryColumn.isNull() ? QString() : QStringLiteral( " (%1)" ).arg( columnName ) );
mGeometryColumn.isEmpty() ? QString() : QStringLiteral( " (%1)" ).arg( columnName ) );
}
else if ( !mSchema.isEmpty() )
{

0 comments on commit 71eed6e

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