Skip to content

Commit ea8fd98

Browse files
committed
wip
1 parent 7ad5217 commit ea8fd98

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Sources/StructuredQueriesCore/Statements/Insert.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ extension Table {
458458
conflictTargetColumnNames: conflictTargetColumnNames,
459459
conflictTargetFilter: targetFilter(Self.columns),
460460
values: values,
461-
updates: updates.map(Updates.init),
461+
updates: updates.map { Updates($0) },
462462
updateFilter: updateFilter(Self.columns),
463463
returning: []
464464
)

Tests/StructuredQueriesTests/InsertTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,8 @@ extension SnapshotTests {
581581
}
582582
}
583583

584+
// NB: This currently crashes in Xcode 26.
585+
#if swift(<6.2)
584586
@Test func onConflict_invalidUpdateFilters() {
585587
withKnownIssue {
586588
assertQuery(
@@ -599,6 +601,7 @@ extension SnapshotTests {
599601
}
600602
}
601603
}
604+
#endif
602605

603606
@Test func onConflict_conditionalWhere() {
604607
let condition = false

0 commit comments

Comments
 (0)