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-2021 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.
@@ -49,6 +49,7 @@ import org.springframework.util.StringUtils;
*
* @author Thomas Risberg
* @author Juergen Hoeller
* @author Ben Blinebury
*/
public abstract class JdbcUtils {
@@ -455,9 +456,6 @@ public abstract class JdbcUtils {
if (source != null && source.startsWith("DB2")) {
name = "DB2";
}
else if ("MariaDB".equals(source)) {
name = "MySQL";
}
else if ("Sybase SQL Server".equals(source) ||
"Adaptive Server Enterprise".equals(source) ||
"ASE".equals(source) ||