Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update src/providers/ogr/qgsogrprovider.cpp
Co-Authored-By: elpaso <elpaso@itopen.it>
  • Loading branch information
m-kuhn and elpaso committed Feb 19, 2019
1 parent adba08c commit 7e008b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -3628,7 +3628,7 @@ QSet<QVariant> QgsOgrProvider::uniqueValues( int index, int limit ) const
if ( ( mGDALDriverName == QLatin1String( "GPKG" ) || mGDALDriverName == QLatin1String( "SQLite" ) )
&& mFirstFieldIsFid && index == 0 )
{
sql += ", " + quotedIdentifier( textEncoding()->fromUnicode( fld.name() ) ) + " AS fid2";
sql += QStringLiteral( ", " ) + quotedIdentifier( textEncoding()->fromUnicode( fld.name() ) ) + QStringLiteral( " AS fid2" );
}

sql += " FROM " + quotedIdentifier( mOgrLayer->name() );
Expand Down

0 comments on commit 7e008b2

Please sign in to comment.