-
Notifications
You must be signed in to change notification settings - Fork 426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed race condition connecting to the wrong SQLServer host in configurable IPv6 #1965
Conversation
Release | Merge dev to master for 9.1.1-preview release
Merge dev to master for 9.2.0 release (microsoft#1506)
# Conflicts: # CHANGELOG.md # README.md # azure-pipelines.yml # build.gradle # mssql-jdbc_auth_LICENSE # pom.xml # src/main/java/com/microsoft/sqlserver/jdbc/IOBuffer.java # src/main/java/com/microsoft/sqlserver/jdbc/SQLJdbcVersion.java # src/main/java/com/microsoft/sqlserver/jdbc/SQLServerConnection.java # src/main/java/com/microsoft/sqlserver/jdbc/SQLServerMSAL4JUtils.java # src/samples/adaptive/pom.xml # src/samples/alwaysencrypted/pom.xml # src/samples/azureactivedirectoryauthentication/pom.xml # src/samples/connections/pom.xml # src/samples/constrained/pom.xml # src/samples/dataclassification/pom.xml # src/samples/datatypes/pom.xml # src/samples/resultsets/pom.xml # src/samples/sparse/pom.xml # src/test/java/com/microsoft/sqlserver/jdbc/TestResource.java # src/test/java/com/microsoft/sqlserver/jdbc/databasemetadata/DatabaseMetaDataTest.java # src/test/java/com/microsoft/sqlserver/jdbc/fedauth/ErrorMessageTest.java
…d each time anyway.
thanks for the contribution @mmimica, could you please add a test for this? |
I can't. A unit test would require a larger refactoring as host lookup code would need to be stubbed, and two servers in the test environment. |
* Merge dev to master for 9.2.0 release (#1506) Merge dev to master for 9.2.0 release (#1506) * fix merge * Fix #1964 by not having a static field at all. It was cleared each time anyway. * refactor a bit Co-authored-by: ulvii <v-ulibra@microsoft.com> Co-authored-by: Peter Bae <v-hyba@microsoft.com> Co-authored-by: Milan Mimica <milan.mimica@infobip.com>
* Merge dev to master for 9.2.0 release (#1506) Merge dev to master for 9.2.0 release (#1506) * fix merge * Fix #1964 by not having a static field at all. It was cleared each time anyway. * refactor a bit Co-authored-by: ulvii <v-ulibra@microsoft.com> Co-authored-by: Peter Bae <v-hyba@microsoft.com> Co-authored-by: Milan Mimica <milan.mimica@infobip.com>
* Merge dev to master for 9.2.0 release (#1506) Merge dev to master for 9.2.0 release (#1506) * fix merge * Fix #1964 by not having a static field at all. It was cleared each time anyway. * refactor a bit Co-authored-by: ulvii <v-ulibra@microsoft.com> Co-authored-by: Peter Bae <v-hyba@microsoft.com> Co-authored-by: Milan Mimica <milan.mimica@infobip.com>
* Merge dev to master for 9.2.0 release (#1506) Merge dev to master for 9.2.0 release (#1506) * fix merge * Fix #1964 by not having a static field at all. It was cleared each time anyway. * refactor a bit Co-authored-by: ulvii <v-ulibra@microsoft.com> Co-authored-by: Peter Bae <v-hyba@microsoft.com> Co-authored-by: Milan Mimica <milan.mimica@infobip.com> Co-authored-by: Milan Mimica <milan.mimica@gmail.com> Co-authored-by: ulvii <v-ulibra@microsoft.com> Co-authored-by: Peter Bae <v-hyba@microsoft.com> Co-authored-by: Milan Mimica <milan.mimica@infobip.com>
Fix #1964 by not having a static field at all. It was cleared each time anyway.