Skip to content

Commit

Permalink
2405 Defaulted Options when setting ServerInfo in ConnectionService >…
Browse files Browse the repository at this point in the history
… GetConnectionCompleteParams (#965)
  • Loading branch information
JustinMDotNet authored Jun 4, 2020
1 parent ec9cb57 commit 05ca0ed
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,10 @@ private ConnectionCompleteParams GetConnectionCompleteParams(string connectionTy
var reliableConnection = connection as ReliableDataSourceConnection;
IDataSource dataSource = reliableConnection.GetUnderlyingConnection();

response.ServerInfo = new ServerInfo();
response.ServerInfo = new ServerInfo
{
Options = new Dictionary<string, object>()
};
connectionInfo.IsCloud = response.ServerInfo.IsCloud;
connectionInfo.MajorVersion = response.ServerInfo.ServerMajorVersion;
}
Expand Down

0 comments on commit 05ca0ed

Please sign in to comment.