Skip to content

Commit ddb5b3e

Browse files
committed
Skip tests that fail with NO_ZERO_DATE.
MySQL Server 8.0.24 appears to be more strict with this SQL mode.
1 parent 3a7f1fb commit ddb5b3e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/SideBySide/DataTypes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ public void QueryDate(string column, string dataTypeName, object[] expected)
660660
#endif
661661
}
662662

663-
[Theory]
663+
[SkippableTheory(ServerFeatures.ZeroDateTime)]
664664
[InlineData(false)]
665665
[InlineData(true)]
666666
public void QueryZeroDateTime(bool convertZeroDateTime)

tests/SideBySide/ServerFeatures.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@ public enum ServerFeatures
2424
UnixDomainSocket = 0x8000,
2525
Tls13 = 0x1_0000,
2626
ResetConnection = 0x2_0000,
27+
ZeroDateTime = 0x4_0000,
2728
}
2829
}

0 commit comments

Comments
 (0)