mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-30 03:03:13 +08:00
Part of the English translation work, and some typos in the original project were corrected.
This commit is contained in:
@ -22,7 +22,7 @@
|
||||
<resource>
|
||||
<directory>src/main/java</directory>
|
||||
<includes>
|
||||
<!--properties的配置文件会和编译后的class文件放在一起-->
|
||||
<!--The properties configuration file will be placed together with the compiled class file-->
|
||||
<include>**/*.json</include>
|
||||
</includes>
|
||||
</resource>
|
||||
|
@ -29,10 +29,10 @@ public class ClickHouseDBManage extends DefaultDBManage implements DBManage {
|
||||
String[] addressSplit = url.split(connectAddress);
|
||||
String connectParams = addressSplit[1];
|
||||
if (connectParams.startsWith("/")) {
|
||||
// 删除连接参数中的 /
|
||||
// Remove / from connection parameters
|
||||
connectParams = connectParams.substring(1);
|
||||
}
|
||||
// 添加数据库名
|
||||
// Add database name
|
||||
return addressSplit[0] + connectAddress + "/" + databaseName + connectParams;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user