Skip to content

Commit

Permalink
paranthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffery-Wasty committed Jun 6, 2023
1 parent b207464 commit dffaaf7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions mssql-jdbc.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#
#Mon Jun 05 08:57:20 PDT 2023
AKVTrustedEndpoints=;vault.azure.net
Original file line number Diff line number Diff line change
Expand Up @@ -6325,9 +6325,9 @@ final boolean complete(LogonCommand logonCommand, TDSReader tdsReader) throws SQ
String databaseName = activeConnectionProperties
.getProperty(SQLServerDriverStringProperty.DATABASE_NAME.toString());
String serverName = (null != currentConnectPlaceHolder)
? currentConnectPlaceHolder.getServerName() + "\\" + currentConnectPlaceHolder.getInstanceName()
: activeConnectionProperties.getProperty(SQLServerDriverStringProperty.SERVER_NAME.toString()) + "\\"
+ activeConnectionProperties.getProperty(SQLServerDriverStringProperty.INSTANCE_NAME.toString());
? (currentConnectPlaceHolder.getServerName() + "\\" + currentConnectPlaceHolder.getInstanceName())
: (activeConnectionProperties.getProperty(SQLServerDriverStringProperty.SERVER_NAME.toString()) + "\\"
+ activeConnectionProperties.getProperty(SQLServerDriverStringProperty.INSTANCE_NAME.toString()));

if (null != serverName && serverName.length() > 128) {
serverName = serverName.substring(0, 128);
Expand Down

0 comments on commit dffaaf7

Please sign in to comment.