Skip to content

Commit 98bbdc0

Browse files
committed
Add the latest Azure proxy version.
1 parent c11fd66 commit 98bbdc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MySqlConnector/Core/ServerSession.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,7 +1130,7 @@ bool ValidateRemoteCertificate(object rcbSender, X509Certificate rcbCertificate,
11301130
private bool ShouldGetRealServerDetails()
11311131
{
11321132
// currently hardcoded to the version returned by the Azure Database for MySQL proxy
1133-
return ServerVersion.OriginalString == "5.6.26.0";
1133+
return ServerVersion.OriginalString == "5.6.26.0" || ServerVersion.OriginalString == "5.6.39.0";
11341134
}
11351135

11361136
private async Task GetRealServerDetailsAsync(IOBehavior ioBehavior, CancellationToken cancellationToken)

0 commit comments

Comments
 (0)