Skip to content

Commit d351c69

Browse files
committed
clean up
1 parent ba7e1fe commit d351c69

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java

+1-8
Original file line numberDiff line numberDiff line change
@@ -4365,15 +4365,8 @@ final void processEnvChange(TDSReader tdsReader) throws SQLServerException {
43654365
}
43664366
}
43674367

4368-
int px = routingServerName.indexOf('\\');
4369-
String routingInstanceName = null;
4370-
if (px >= 0) {
4371-
routingInstanceName = routingServerName.substring(px + 1, routingServerName.length());
4372-
}
4373-
43744368
isRoutedInCurrentAttempt = true;
4375-
routingInfo = new ServerPortPlaceHolder(routingServerName, routingPortNumber, routingInstanceName,
4376-
integratedSecurity);
4369+
routingInfo = new ServerPortPlaceHolder(routingServerName, routingPortNumber, null, integratedSecurity);
43774370
break;
43784371

43794372
// Error on unrecognized, unused ENVCHANGES

0 commit comments

Comments
 (0)