Skip to content

Commit

Permalink
fix failed to connect to ob sharding mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachThinking committed Jan 23, 2025
1 parent c0df06a commit b882539
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ public ConnectionTestResult test(@NonNull ConnectionConfig config) {
}
return new ConnectionTestResult(result, null);
}
if (Objects.nonNull(type) && type.isODPSharding()) {
return new ConnectionTestResult(result, type);
}
ConnectType connectType = ConnectTypeUtil.getConnectType(
connectionExtensionPoint.generateJdbcUrl(jdbcUrlProperties),
testConnectionProperties, queryTimeoutSeconds);
Expand Down

0 comments on commit b882539

Please sign in to comment.