Treat MariaDB as an independent database type

See gh-28355
This commit is contained in:
ben-enfuse-io
2022-04-18 13:17:13 -04:00
committed by Stephane Nicoll
parent 455715899d
commit 21577c4777
2 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2019 the original author or authors.
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -27,6 +27,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Thomas Risberg
* @author Juergen Hoeller
* @author Ben Blinebury
*/
public class JdbcUtilsTests {
@@ -37,6 +38,7 @@ public class JdbcUtilsTests {
assertThat(JdbcUtils.commonDatabaseName("Sybase SQL Server")).isEqualTo("Sybase");
assertThat(JdbcUtils.commonDatabaseName("Adaptive Server Enterprise")).isEqualTo("Sybase");
assertThat(JdbcUtils.commonDatabaseName("MySQL")).isEqualTo("MySQL");
assertThat(JdbcUtils.commonDatabaseName("MariaDB")).isEqualTo("MariaDB");
}
@Test