Skip to content
Permalink
Browse files

fix hana with Qt 5.14 (#41420)

  • Loading branch information
3nids committed Feb 8, 2021
1 parent 65211e7 commit 73efd084fc301535d2ca78219c9583eded3346ef
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/hana/qgshanatablemodel.cpp
@@ -95,7 +95,7 @@ void QgsHanaTableModel::addTableEntry( const QString &connName, const QgsHanaLay
if ( !pkColumnsStored.empty() )
{
// We check whether the primary key columns still exist.
auto intersection = pkColumnsStored.toSet().intersect( layerProperty.pkCols.toSet() );
auto intersection = qgis::listToSet( pkColumnsStored ).intersect( qgis::listToSet( layerProperty.pkCols ) );
if ( intersection.size() == pkColumnsStored.size() )
pkColumns = pkColumnsStored;
}

0 comments on commit 73efd08

Please sign in to comment.