Update login migrations nuget with perf improvements (#1789)

* Update login migrations nuget with perf improvements

* Add new nuget

Co-authored-by: Akshay Mata <akma@microsoft.com>
This commit is contained in:
AkshayMata
2022-12-16 16:14:27 -05:00
committed by GitHub
parent eca0cc484c
commit 996e30cd7f
4 changed files with 6 additions and 1 deletions

View File

@@ -24,7 +24,7 @@
<PackageReference Update="Microsoft.Azure.Kusto.Language" Version="9.0.4" /> <PackageReference Update="Microsoft.Azure.Kusto.Language" Version="9.0.4" />
<PackageReference Update="Microsoft.SqlServer.Assessment" Version="[1.1.9]" /> <PackageReference Update="Microsoft.SqlServer.Assessment" Version="[1.1.9]" />
<PackageReference Update="Microsoft.SqlServer.Migration.Assessment" Version="1.0.20221028.23" /> <PackageReference Update="Microsoft.SqlServer.Migration.Assessment" Version="1.0.20221028.23" />
<PackageReference Update="Microsoft.SqlServer.Migration.Logins" Version="1.0.20221103.24" /> <PackageReference Update="Microsoft.SqlServer.Migration.Logins" Version="1.0.20221215.33" />
<PackageReference Update="Microsoft.SqlServer.Management.SqlParser" Version="160.22519.0" /> <PackageReference Update="Microsoft.SqlServer.Management.SqlParser" Version="160.22519.0" />
<PackageReference Update="Microsoft.Azure.OperationalInsights" Version="1.0.0" /> <PackageReference Update="Microsoft.Azure.OperationalInsights" Version="1.0.0" />
<PackageReference Update="Microsoft.CodeAnalysis.CSharp" Version="3.10.0" /> <PackageReference Update="Microsoft.CodeAnalysis.CSharp" Version="3.10.0" />

View File

@@ -13,6 +13,11 @@ namespace Microsoft.SqlTools.ServiceLayer.Migration.Utils
{ {
public static void AddExceptions(this IDictionary<string, IEnumerable<ReportableException>> exceptionMap1, IDictionary<string, IEnumerable<ReportableException>> exceptionMap2) public static void AddExceptions(this IDictionary<string, IEnumerable<ReportableException>> exceptionMap1, IDictionary<string, IEnumerable<ReportableException>> exceptionMap2)
{ {
if (exceptionMap1 is null || exceptionMap2 is null)
{
return;
}
foreach (var keyValuePair2 in exceptionMap2) foreach (var keyValuePair2 in exceptionMap2)
{ {
// If the dictionary already contains the key then merge them // If the dictionary already contains the key then merge them