Removing circular references from Plan Comparison (#1498)

This commit is contained in:
Aasim Khan
2022-05-18 00:13:26 -07:00
committed by GitHub
parent 91db096b09
commit e7c7489b21
3 changed files with 6 additions and 12 deletions

View File

@@ -197,12 +197,10 @@ GO
{
var curNode = queue.Dequeue();
for (int index = 0; index < curNode.MatchingNodes.Count; ++index)
for (int index = 0; index < curNode.MatchingNodesId.Count; ++index)
{
var matchingId = curNode.MatchingNodes[index].BaseNode.ID;
var matchingNode = srcGraphLookupTable[matchingId];
curNode.MatchingNodes[index] = matchingNode;
var matchingId = curNode.MatchingNodesId[index];
curNode.MatchingNodesId[index] = matchingId;
}
foreach (var child in curNode.Children)