Skip to content

Commit

Permalink
调整Gauss数据库.
Browse files Browse the repository at this point in the history
  • Loading branch information
nieqiurong committed Feb 21, 2025
1 parent c93b1c7 commit c0a8afd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public enum DbType {
/**
* Gauss
*/
GAUSS("zenith", "Gauss 数据库"),
GAUSS("gauss", "Gauss 数据库"),
/**
* ClickHouse
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public static DbType getDbType(String jdbcUrl) {
return DbType.KINGBASE_ES;
} else if (url.contains(":phoenix:")) {
return DbType.PHOENIX;
} else if (url.contains(":zenith:")) {
} else if (url.contains(":gaussdb:") || url.contains(":zenith:")) {
return DbType.GAUSS;
} else if (url.contains(":gbase:")) {
return DbType.GBASE;
Expand Down

0 comments on commit c0a8afd

Please sign in to comment.