Commit a94ac6c
Simplify UInt64 Max value detection using direct enum comparison
Changed from numeric value comparison `(ulong)value == 18446744073709551615` to direct enum comparison `value == EnumU64.Max`. This is more reliable and clearer since both the symbolic EnumU64.Max and the numeric literal (EnumU64)18446744073709551615 are equivalent and will match this condition.
The fix ensures both test cases with UInt64.MaxValue (symbolic and numeric forms) are properly adjusted for MariaDB's different serialization format at runtime.
Applied to both nullable and non-nullable test methods.
Co-authored-by: renemadsen <[email protected]>1 parent 4467b5a commit a94ac6c
File tree
1 file changed
+5
-5
lines changed- test/EFCore.MySql.FunctionalTests/Query
1 file changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
| 69 | + | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments