Skip to content

Commit

Permalink
Fix cycle iterator name for VisitChildren (#2572)
Browse files Browse the repository at this point in the history
Because 'i' is iterator of previous cycle

(cherry picked from commit 3a8b2d3)
  • Loading branch information
kurnakovv authored and roji committed Nov 22, 2022
1 parent 6f7e11e commit d3d17e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ protected override Expression VisitChildren(ExpressionVisitor visitor)
if (visited != rowValue && newRowValues is null)
{
newRowValues = new SqlExpression[Values.Count];
for (var j = 0; j < i; i++)
for (var j = 0; j < i; j++)
{
newRowValues[j] = Values[j];
}
Expand Down

0 comments on commit d3d17e2

Please sign in to comment.