Skip to content

Commit 06793af

Browse files
Copilotrenemadsen
andcommitted
Fix Take_Skip_Distinct_Caching second query param @p0@p1 and Triggers baseline lambda syntax
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
1 parent 19e430f commit 06793af

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ ORDER BY `c`.`ContactName`
13821382
LIMIT @p
13831383
) AS `c0`
13841384
ORDER BY `c0`.`ContactName`
1385-
LIMIT 18446744073709551610 OFFSET @p0
1385+
LIMIT 18446744073709551610 OFFSET @p1
13861386
) AS `c1`
13871387
""");
13881388
}

test/EFCore.MySql.FunctionalTests/Scaffolding/Baselines/Triggers/DataEntityType.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,16 +97,16 @@ public static RuntimeEntityType Create(RuntimeModel model, RuntimeEntityType bas
9797
storeGenerationIndex: -1);
9898
blob.TypeMapping = MySqlByteArrayTypeMapping.Default.Clone(
9999
comparer: new ValueComparer<byte[]>(
100-
bool (byte[] v1, byte[] v2) => StructuralComparisons.StructuralEqualityComparer.Equals(((object)v1)), ((object)v2))),
100+
bool (byte[] v1, byte[] v2) => StructuralComparisons.StructuralEqualityComparer.Equals(((object)v1), ((object)v2)),
101101
int (byte[] v) => ((object)v).GetHashCode(),
102102
byte[] (byte[] v) => v),
103103
keyComparer: new ValueComparer<byte[]>(
104-
bool (byte[] v1, byte[] v2) => StructuralComparisons.StructuralEqualityComparer.Equals(((object)v1)), ((object)v2))),
105-
int (byte[] v) => StructuralComparisons.StructuralEqualityComparer.GetHashCode(((object)v))),
104+
bool (byte[] v1, byte[] v2) => StructuralComparisons.StructuralEqualityComparer.Equals(((object)v1), ((object)v2)),
105+
int (byte[] v) => StructuralComparisons.StructuralEqualityComparer.GetHashCode(((object)v)),
106106
byte[] (byte[] source) => source.ToArray()),
107107
providerValueComparer: new ValueComparer<byte[]>(
108-
bool (byte[] v1, byte[] v2) => StructuralComparisons.StructuralEqualityComparer.Equals(((object)v1)), ((object)v2))),
109-
int (byte[] v) => StructuralComparisons.StructuralEqualityComparer.GetHashCode(((object)v))),
108+
bool (byte[] v1, byte[] v2) => StructuralComparisons.StructuralEqualityComparer.Equals(((object)v1), ((object)v2)),
109+
int (byte[] v) => StructuralComparisons.StructuralEqualityComparer.GetHashCode(((object)v)),
110110
byte[] (byte[] source) => source.ToArray()));
111111
blob.AddAnnotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.None);
112112

0 commit comments

Comments
 (0)