Skip to content

Commit 6b8c54d

Browse files
Copilotrenemadsen
andcommitted
Fix Update_with_PK_pushdown_and_join_and_multiple_setters table alias from o0 to o2
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
1 parent d850618 commit 6b8c54d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1770,15 +1770,15 @@ public override async Task Update_with_PK_pushdown_and_join_and_multiple_setters
17701770
@p='1'
17711771
@p2='10'
17721772
1773-
UPDATE `Order Details` AS `o0`
1773+
UPDATE `Order Details` AS `o2`
17741774
INNER JOIN (
17751775
SELECT `o2`.`OrderID`, `o2`.`ProductID`
17761776
FROM `Orders` AS `o1`
17771777
INNER JOIN `Order Details` AS `o2` ON `o1`.`OrderID` = `o2`.`OrderID`
17781778
WHERE `o1`.`OrderID` < @p
1779-
) AS `o` ON `o0`.`OrderID` = `o`.`OrderID` AND `o0`.`ProductID` = `o`.`ProductID`
1780-
SET `o0`.`Quantity` = CAST(@p2 AS signed),
1781-
`o0`.`UnitPrice` = `o0`.`UnitPrice`
1779+
) AS `o` ON `o2`.`OrderID` = `o`.`OrderID` AND `o2`.`ProductID` = `o`.`ProductID`
1780+
SET `o2`.`Quantity` = CAST(@p2 AS signed),
1781+
`o2`.`UnitPrice` = `o2`.`UnitPrice`
17821782
""");
17831783
}
17841784

0 commit comments

Comments
 (0)