Skip to content

Commit

Permalink
isMariaDb() condition changed
Browse files Browse the repository at this point in the history
  • Loading branch information
jchrys committed Mar 31, 2024
1 parent e46f343 commit 2b90dbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static String getPassword() {
public static boolean isMariaDb() {
ensureTestContainerIsRunning();
try {
return "MariaDB".equalsIgnoreCase(getConnection().getMetaData().getDatabaseProductName());
return !"MySQL".equalsIgnoreCase(getConnection().getMetaData().getDatabaseProductName());
} catch (SQLException e) {
throw new RuntimeException(e);
}
Expand Down

0 comments on commit 2b90dbe

Please sign in to comment.