Skip to content
Permalink
Browse files

Fix indentation

  • Loading branch information
stefanuhrig committed Jan 9, 2021
1 parent 6a6c896 commit a090f63d911ff89d4921e43b2ae2bf86233b7cb0
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/providers/hana/qgshanaconnection.cpp
  2. +1 −1 src/providers/hana/qgshanaproviderconnection.cpp
@@ -597,7 +597,7 @@ QStringList QgsHanaConnection::getLayerPrimaryeKey( const QString &schemaName, c
{
QString clmName = QgsHanaUtils::toQString( rsPrimaryKeys->getNString( 4 /*COLUMN_NAME*/ ) );
int pos = *rsPrimaryKeys->getInt( 5 /*KEY_SEQ*/ );
pos2Name.insert(pos, clmName );
pos2Name.insert( pos, clmName );
}
rsPrimaryKeys->close();
return pos2Name.values();
@@ -331,7 +331,7 @@ QList<QgsHanaProviderConnection::TableProperty> QgsHanaProviderConnection::table
property.setGeometryColumnCount( layerInfo.geometryColName.isEmpty() ? 0 : 1 );
property.setComment( layerInfo.tableComment );

if (layerInfo.isView)
if ( layerInfo.isView )
{
// Set the candidates
property.setPrimaryKeyColumns( layerInfo.pkCols );

0 comments on commit a090f63

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