Skip to content

Commit b8dfb67

Browse files
Copilotrenemadsen
andcommitted
Fix Select_take_skip_null_coalesce_operator and Dynamic_schema casting syntax
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
1 parent adfc680 commit b8dfb67

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
@@ -3833,7 +3833,7 @@ ORDER BY COALESCE(`c`.`Region`, 'ZZ')
38333833
LIMIT @p
38343834
) AS `c0`
38353835
ORDER BY `c0`.`c`
3836-
LIMIT 18446744073709551610 OFFSET @p0
3836+
LIMIT 18446744073709551610 OFFSET @p1
38373837
""");
38383838
}
38393839

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

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

0 commit comments

Comments
 (0)