Skip to content

Commit 8107733

Browse files
committed
update
1 parent ec9b6f6 commit 8107733

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2484,7 +2484,7 @@ private void login(String primary, String primaryInstanceName, int primaryPortNu
24842484
int driverErrorCode = sqlex.getDriverErrorCode();
24852485
if (SQLServerException.LOGON_FAILED == errorCode // logon failed, ie bad password
24862486
|| SQLServerException.PASSWORD_EXPIRED == errorCode // password expired
2487-
|| (SQLServerException.USER_ACCOUNT_LOCKED == sqlex.getErrorCode()) // user account locked
2487+
|| SQLServerException.USER_ACCOUNT_LOCKED == errorCode // user account locked
24882488
|| SQLServerException.DRIVER_ERROR_INVALID_TDS == driverErrorCode // invalid TDS
24892489
|| SQLServerException.DRIVER_ERROR_SSL_FAILED == driverErrorCode // SSL failure
24902490
|| SQLServerException.DRIVER_ERROR_INTERMITTENT_TLS_FAILED == driverErrorCode // TLS1.2 failure

0 commit comments

Comments
 (0)