Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanuhrig committed Jan 9, 2021
1 parent 6a6c896 commit a090f63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/providers/hana/qgshanaconnection.cpp
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/providers/hana/qgshanaproviderconnection.cpp
Expand Up @@ -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 );
Expand Down

0 comments on commit a090f63

Please sign in to comment.