Skip to content
Permalink
Browse files

Fix warnings

  • Loading branch information
nyalldawson committed Mar 17, 2020
1 parent 60da8d2 commit ccbe6b99f7eb0f6767419a230d5075ca0e5f0a5b
@@ -229,8 +229,8 @@ QList<QgsGeoPackageProviderConnection::TableProperty> QgsGeoPackageProviderConne
try
{
const QString sql { QStringLiteral( "SELECT c.table_name, data_type, description, c.srs_id, g.geometry_type_name, g.column_name "
"FROM gpkg_contents c LEFT JOIN gpkg_geometry_columns g ON (c.table_name = g.table_name) "
"WHERE c.table_name NOT IN (%1)" ).arg( excludedTableNames.join( ',' ) ) };
"FROM gpkg_contents c LEFT JOIN gpkg_geometry_columns g ON (c.table_name = g.table_name) "
"WHERE c.table_name NOT IN (%1)" ).arg( excludedTableNames.join( ',' ) ) };
results = executeSql( sql );
for ( const auto &row : qgis::as_const( results ) )
{
@@ -192,7 +192,7 @@ class QgsPostgresProvider final: public QgsVectorDataProvider
bool setSubsetString( const QString &theSQL, bool updateFeatureCount = true ) override;
bool supportsSubsetString() const override { return true; }
QgsVectorDataProvider::Capabilities capabilities() const override;
SpatialIndexPresence hasSpatialIndex() const;
SpatialIndexPresence hasSpatialIndex() const override;

/**
* The Postgres provider does its own transforms so we return

0 comments on commit ccbe6b9

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