Skip to content

Commit

Permalink
Update baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
ranma42 committed Jul 13, 2024
1 parent 8549d63 commit 32d05b3
Show file tree
Hide file tree
Showing 10 changed files with 169 additions and 169 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -562,9 +562,9 @@ public override async Task String_ends_with_not_equals_nullable_column(bool asyn
FROM [FunkyCustomers] AS [f]
CROSS JOIN [FunkyCustomers] AS [f0]
WHERE CASE
WHEN [f].[FirstName] IS NOT NULL AND [f0].[LastName] IS NOT NULL AND RIGHT([f].[FirstName], LEN([f0].[LastName])) = [f0].[LastName] THEN CAST(1 AS bit)
WHEN [f].[FirstName] IS NULL OR [f0].[LastName] IS NULL OR RIGHT([f].[FirstName], LEN([f0].[LastName])) <> [f0].[LastName] THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END <> [f].[NullableBool] OR [f].[NullableBool] IS NULL
END = [f].[NullableBool] OR [f].[NullableBool] IS NULL
""");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6812,7 +6812,7 @@ FROM [Gears] AS [g]
LEFT JOIN (
SELECT [w].[Id], [w].[OwnerFullName]
FROM [Weapons] AS [w]
WHERE [w].[IsAutomatic] <> @__isAutomatic_0
WHERE [w].[IsAutomatic] = @__isAutomatic_0 ^ CAST(1 AS bit)
) AS [w0] ON [g].[FullName] = [w0].[OwnerFullName]
""");
}
Expand Down Expand Up @@ -7536,15 +7536,15 @@ public override async Task Logical_operation_with_non_null_parameter_optimizes_n

SELECT [g].[Nickname], [g].[SquadId], [g].[AssignedCityName], [g].[CityOfBirthName], [g].[Discriminator], [g].[FullName], [g].[HasSoulPatch], [g].[LeaderNickname], [g].[LeaderSquadId], [g].[Rank]
FROM [Gears] AS [g]
WHERE [g].[HasSoulPatch] <> @__prm_0
WHERE [g].[HasSoulPatch] = @__prm_0 ^ CAST(1 AS bit)
""",
//
"""
@__prm_0='False'

SELECT [g].[Nickname], [g].[SquadId], [g].[AssignedCityName], [g].[CityOfBirthName], [g].[Discriminator], [g].[FullName], [g].[HasSoulPatch], [g].[LeaderNickname], [g].[LeaderSquadId], [g].[Rank]
FROM [Gears] AS [g]
WHERE [g].[HasSoulPatch] <> @__prm_0
WHERE [g].[HasSoulPatch] = @__prm_0 ^ CAST(1 AS bit)
""");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1347,10 +1347,10 @@ public override async Task Where_not_bool_member_compared_to_binary_expression(b
"""
SELECT [p].[ProductID], [p].[Discontinued], [p].[ProductName], [p].[SupplierID], [p].[UnitPrice], [p].[UnitsInStock]
FROM [Products] AS [p]
WHERE [p].[Discontinued] <> CASE
WHERE [p].[Discontinued] = CASE
WHEN [p].[ProductID] > 50 THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END
END ^ CAST(1 AS bit)
""");
}

Expand Down Expand Up @@ -1381,7 +1381,7 @@ FROM [Products] AS [p]
WHERE CASE
WHEN [p].[ProductID] > 50 THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END <> @__prm_0
END = @__prm_0 ^ CAST(1 AS bit)
""");
}

Expand Down
Loading

0 comments on commit 32d05b3

Please sign in to comment.