File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/EFCore.Relational/Query
test/EFCore.Sqlite.FunctionalTests/BulkUpdates Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1472,7 +1472,7 @@ protected override Expression VisitUpdate(UpdateExpression updateExpression)
1472
1472
var table = selectExpression . Tables [ i ] ;
1473
1473
var joinExpression = table as JoinExpressionBase ;
1474
1474
1475
- if ( ReferenceEquals ( updateExpression . Table , joinExpression ? . Table ?? table ) )
1475
+ if ( updateExpression . Table . Alias == ( joinExpression ? . Table . Alias ?? table . Alias ) )
1476
1476
{
1477
1477
LiftPredicate ( table ) ;
1478
1478
continue ;
Original file line number Diff line number Diff line change @@ -63,8 +63,7 @@ public override async Task Delete_aggregate_root_when_table_sharing_with_non_own
63
63
64
64
public override async Task Replace_ColumnExpression_in_column_setter ( bool async )
65
65
{
66
- // #33947
67
- await Assert . ThrowsAsync < SqliteException > ( ( ) => base . Replace_ColumnExpression_in_column_setter ( async) ) ;
66
+ await base . Replace_ColumnExpression_in_column_setter ( async) ;
68
67
69
68
AssertSql (
70
69
"""
@@ -73,7 +72,7 @@ public override async Task Replace_ColumnExpression_in_column_setter(bool async)
73
72
UPDATE "OwnedCollection" AS "o0"
74
73
SET "Value" = @p
75
74
FROM "Owner" AS "o"
76
- INNER JOIN "OwnedCollection" AS "o0" ON "o"."Id" = "o0"."OwnerId"
75
+ WHERE "o"."Id" = "o0"."OwnerId"
77
76
""" ) ;
78
77
}
79
78
You can’t perform that action at this time.
0 commit comments