Skip to content

Commit

Permalink
Always use 3xx13 port for connecting to multitenant HANA instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Maksim Rylov authored and mrylov committed Dec 7, 2020
1 parent f75ef01 commit 072c357
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/providers/hana/qgshanasettings.cpp
Expand Up @@ -40,12 +40,7 @@ QString QgsHanaSettings::getPort() const
if ( QgsHanaIdentifierType::fromInt( mIdentifierType ) == QgsHanaIdentifierType::INSTANCE_NUMBER )
{
if ( mMultitenant )
{
if ( mDatabase == QStringLiteral( "SYSTEMDB" ) )
return QString( "3" + mIdentifier + "13" );
else
return QString( "3" + mIdentifier + "41" );
}
return QString( "3" + mIdentifier + "13" );
else
return QString( "3" + mIdentifier + "15" );
}
Expand Down

0 comments on commit 072c357

Please sign in to comment.