Skip to content

Commit 7d1d6ef

Browse files
Copilotrenemadsen
andcommitted
Fix Update_with_PK_pushdown_and_join_and_multiple_setters SQL baseline for EF Core 10.0.2 query structure changes
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
1 parent c77bb90 commit 7d1d6ef

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1780,9 +1780,10 @@ ORDER BY `o`.`OrderID`
17801780
LIMIT 18446744073709551610 OFFSET @p
17811781
) AS `o1`
17821782
INNER JOIN `Orders` AS `o0` ON `o1`.`OrderID` = `o0`.`OrderID`
1783-
) AS `o0` ON `o2`.`OrderID` = `o0`.`OrderID` AND `o2`.`ProductID` = `o0`.`ProductID`
1784-
SET `o2`.`Quantity` = CAST(@p2 AS signed),
1785-
`o2`.`UnitPrice` = `o2`.`UnitPrice`
1783+
WHERE `o0`.`CustomerID` = 'ALFKI'
1784+
) AS `s` ON (`o2`.`OrderID` = `s`.`OrderID`) AND (`o2`.`ProductID` = `s`.`ProductID`)
1785+
SET `o2`.`Quantity` = CAST(@p AS signed),
1786+
`o2`.`UnitPrice` = @p2
17861787
""");
17871788
}
17881789

0 commit comments

Comments
 (0)