Feature:支持 SQL Server 旧版兼容模式 (#2181)
* fix: 支持 SQL Server 旧版非加密重试 * fix: 优化 SQL Server 旧版兼容模式入口 --------- Co-authored-by: staff <staff@qimaos-MacBook-Pro.local>
This commit is contained in:
1 parent
8747a0e8f9
commit
d04463ebeb
7 files changed
+136
-14
No files matched your search
@@ -636,6 +636,7 @@ pub async fn test_connection(state: State<'_, Arc<AppState>>, config: Connection
|
||||
&config.username,
|
||||
&config.password,
|
||||
config.database.as_deref(),
|
||||
config.url_params.as_deref(),
|
||||
connect_timeout,
|
||||
)
|
||||
.await
|
||||
@@ -924,6 +925,7 @@ pub async fn connect_db(state: State<'_, Arc<AppState>>, config: ConnectionConfi
|
||||
&db_config.username,
|
||||
&db_config.password,
|
||||
db_config.database.as_deref(),
|
||||
db_config.url_params.as_deref(),
|
||||
connect_timeout,
|
||||
)
|
||||
.await?;
|
||||
|
||||
Reference in new issue
Block a user