Skip to content
Permalink
Browse files

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 7e008b25df7689431233cc68b576243a60c78b20
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/ogr/qgsogrprovider.cpp
@@ -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() );

0 comments on commit 7e008b2

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