Skip to content

Commit d3d17e2

Browse files
kurnakovvroji
authored andcommitted
Fix cycle iterator name for VisitChildren (#2572)
Because 'i' is iterator of previous cycle (cherry picked from commit 3a8b2d3)
1 parent 6f7e11e commit d3d17e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EFCore.PG/Query/Expressions/Internal/PostgresRowValueExpression.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected override Expression VisitChildren(ExpressionVisitor visitor)
4343
if (visited != rowValue && newRowValues is null)
4444
{
4545
newRowValues = new SqlExpression[Values.Count];
46-
for (var j = 0; j < i; i++)
46+
for (var j = 0; j < i; j++)
4747
{
4848
newRowValues[j] = Values[j];
4949
}

0 commit comments

Comments
 (0)