Skip to content

Commit 18bdea8

Browse files
committed
Update baselines
1 parent be671f2 commit 18bdea8

8 files changed

+310
-447
lines changed

test/EFCore.SqlServer.FunctionalTests/Query/ComplexNavigationsQuerySqlServer160Test.cs

Lines changed: 40 additions & 70 deletions
Large diffs are not rendered by default.

test/EFCore.SqlServer.FunctionalTests/Query/ComplexNavigationsSharedTypeQuerySqlServer160Test.cs

Lines changed: 78 additions & 170 deletions
Large diffs are not rendered by default.

test/EFCore.SqlServer.FunctionalTests/Query/PrimitiveCollectionsQuerySqlServer160Test.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1070,7 +1070,7 @@ public override async Task Nullable_reference_column_collection_index_equals_nul
10701070
"""
10711071
SELECT [p].[Id], [p].[Bool], [p].[Bools], [p].[DateTime], [p].[DateTimes], [p].[Enum], [p].[Enums], [p].[Int], [p].[Ints], [p].[NullableInt], [p].[NullableInts], [p].[NullableString], [p].[NullableStrings], [p].[NullableWrappedId], [p].[NullableWrappedIdWithNullableComparer], [p].[String], [p].[Strings], [p].[WrappedId]
10721072
FROM [PrimitiveCollectionsEntity] AS [p]
1073-
WHERE JSON_VALUE([p].[NullableStrings], '$[2]') = [p].[NullableString] OR (JSON_VALUE([p].[NullableStrings], '$[2]') IS NULL AND [p].[NullableString] IS NULL)
1073+
WHERE JSON_VALUE([p].[NullableStrings], '$[2]') IS NOT DISTINCT FROM [p].[NullableString]
10741074
""");
10751075
}
10761076

test/EFCore.Sqlite.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesSqliteTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ DELETE FROM "Order Details" AS "o"
212212
SELECT (
213213
SELECT "o1"."OrderID"
214214
FROM "Orders" AS "o1"
215-
WHERE "o0"."CustomerID" = "o1"."CustomerID" OR ("o0"."CustomerID" IS NULL AND "o1"."CustomerID" IS NULL)
215+
WHERE "o0"."CustomerID" IS "o1"."CustomerID"
216216
LIMIT 1)
217217
FROM "Orders" AS "o0"
218218
GROUP BY "o0"."CustomerID"
@@ -236,7 +236,7 @@ SELECT 1
236236
SELECT (
237237
SELECT "o3"."OrderID"
238238
FROM "Orders" AS "o3"
239-
WHERE "o2"."CustomerID" = "o3"."CustomerID" OR ("o2"."CustomerID" IS NULL AND "o3"."CustomerID" IS NULL)
239+
WHERE "o2"."CustomerID" IS "o3"."CustomerID"
240240
LIMIT 1)
241241
FROM "Orders" AS "o2"
242242
GROUP BY "o2"."CustomerID"
@@ -896,7 +896,7 @@ public override async Task Update_Where_GroupBy_First_set_constant(bool async)
896896
SELECT (
897897
SELECT "o0"."CustomerID"
898898
FROM "Orders" AS "o0"
899-
WHERE "o"."CustomerID" = "o0"."CustomerID" OR ("o"."CustomerID" IS NULL AND "o0"."CustomerID" IS NULL)
899+
WHERE "o"."CustomerID" IS "o0"."CustomerID"
900900
LIMIT 1)
901901
FROM "Orders" AS "o"
902902
GROUP BY "o"."CustomerID"
@@ -925,7 +925,7 @@ public override async Task Update_Where_GroupBy_First_set_constant_3(bool async)
925925
SELECT "c0"."CustomerID"
926926
FROM "Orders" AS "o0"
927927
LEFT JOIN "Customers" AS "c0" ON "o0"."CustomerID" = "c0"."CustomerID"
928-
WHERE "o"."CustomerID" = "o0"."CustomerID" OR ("o"."CustomerID" IS NULL AND "o0"."CustomerID" IS NULL)
928+
WHERE "o"."CustomerID" IS "o0"."CustomerID"
929929
LIMIT 1)
930930
FROM "Orders" AS "o"
931931
GROUP BY "o"."CustomerID"

test/EFCore.Sqlite.FunctionalTests/Query/ComplexTypeQuerySqliteTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public override async Task Filter_on_required_property_inside_required_complex_t
8989
FROM "CustomerGroup" AS "c"
9090
LEFT JOIN "Customer" AS "c0" ON "c"."OptionalCustomerId" = "c0"."Id"
9191
INNER JOIN "Customer" AS "c1" ON "c"."RequiredCustomerId" = "c1"."Id"
92-
WHERE "c0"."ShippingAddress_ZipCode" <> 7728 OR "c0"."ShippingAddress_ZipCode" IS NULL
92+
WHERE "c0"."ShippingAddress_ZipCode" IS NOT 7728
9393
""");
9494
}
9595

@@ -211,7 +211,7 @@ public override async Task Complex_type_equals_complex_type(bool async)
211211
"""
212212
SELECT "c"."Id", "c"."Name", "c"."BillingAddress_AddressLine1", "c"."BillingAddress_AddressLine2", "c"."BillingAddress_Tags", "c"."BillingAddress_ZipCode", "c"."BillingAddress_Country_Code", "c"."BillingAddress_Country_FullName", "c"."ShippingAddress_AddressLine1", "c"."ShippingAddress_AddressLine2", "c"."ShippingAddress_Tags", "c"."ShippingAddress_ZipCode", "c"."ShippingAddress_Country_Code", "c"."ShippingAddress_Country_FullName"
213213
FROM "Customer" AS "c"
214-
WHERE "c"."ShippingAddress_AddressLine1" = "c"."BillingAddress_AddressLine1" AND ("c"."ShippingAddress_AddressLine2" = "c"."BillingAddress_AddressLine2" OR ("c"."ShippingAddress_AddressLine2" IS NULL AND "c"."BillingAddress_AddressLine2" IS NULL)) AND "c"."ShippingAddress_Tags" = "c"."BillingAddress_Tags" AND "c"."ShippingAddress_ZipCode" = "c"."BillingAddress_ZipCode"
214+
WHERE "c"."ShippingAddress_AddressLine1" = "c"."BillingAddress_AddressLine1" AND "c"."ShippingAddress_AddressLine2" IS "c"."BillingAddress_AddressLine2" AND "c"."ShippingAddress_Tags" = "c"."BillingAddress_Tags" AND "c"."ShippingAddress_ZipCode" = "c"."BillingAddress_ZipCode"
215215
""");
216216
}
217217

@@ -458,7 +458,7 @@ public override async Task Filter_on_required_property_inside_required_struct_co
458458
FROM "ValuedCustomerGroup" AS "v"
459459
LEFT JOIN "ValuedCustomer" AS "v0" ON "v"."OptionalCustomerId" = "v0"."Id"
460460
INNER JOIN "ValuedCustomer" AS "v1" ON "v"."RequiredCustomerId" = "v1"."Id"
461-
WHERE "v0"."ShippingAddress_ZipCode" <> 7728 OR "v0"."ShippingAddress_ZipCode" IS NULL
461+
WHERE "v0"."ShippingAddress_ZipCode" IS NOT 7728
462462
""");
463463
}
464464

@@ -581,7 +581,7 @@ public override async Task Struct_complex_type_equals_struct_complex_type(bool a
581581
"""
582582
SELECT "v"."Id", "v"."Name", "v"."BillingAddress_AddressLine1", "v"."BillingAddress_AddressLine2", "v"."BillingAddress_ZipCode", "v"."BillingAddress_Country_Code", "v"."BillingAddress_Country_FullName", "v"."ShippingAddress_AddressLine1", "v"."ShippingAddress_AddressLine2", "v"."ShippingAddress_ZipCode", "v"."ShippingAddress_Country_Code", "v"."ShippingAddress_Country_FullName"
583583
FROM "ValuedCustomer" AS "v"
584-
WHERE "v"."ShippingAddress_AddressLine1" = "v"."BillingAddress_AddressLine1" AND ("v"."ShippingAddress_AddressLine2" = "v"."BillingAddress_AddressLine2" OR ("v"."ShippingAddress_AddressLine2" IS NULL AND "v"."BillingAddress_AddressLine2" IS NULL)) AND "v"."ShippingAddress_ZipCode" = "v"."BillingAddress_ZipCode"
584+
WHERE "v"."ShippingAddress_AddressLine1" = "v"."BillingAddress_AddressLine1" AND "v"."ShippingAddress_AddressLine2" IS "v"."BillingAddress_AddressLine2" AND "v"."ShippingAddress_ZipCode" = "v"."BillingAddress_ZipCode"
585585
""");
586586
}
587587

0 commit comments

Comments
 (0)