Skip to content

Commit

Permalink
[misc] ensuring UUID test minimal server version
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Dec 2, 2022
1 parent dd326c7 commit 37c3a43
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ public static void drop() throws SQLException {
@BeforeAll
public static void beforeAll2() throws SQLException {
drop();
Assumptions.assumeTrue(hasCapability(Capabilities.EXTENDED_TYPE_INFO));
Assumptions.assumeTrue(
isMariaDBServer()
&& minVersion(10, 7, 0)
&& hasCapability(Capabilities.EXTENDED_TYPE_INFO));
Statement stmt = sharedConn.createStatement();
stmt.execute("CREATE TABLE UuidCodec (t1 UUID, t2 UUID, t3 UUID, t4 UUID)");
stmt.execute("CREATE TABLE UuidCodec2 (t1 UUID)");
Expand Down

0 comments on commit 37c3a43

Please sign in to comment.