Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

fix(connection): clone url_params to avoid partial move in influxdb test

t8y223ee0a42a35a
diff --git a/src-tauri/src/commands/connection.rs b/src-tauri/src/commands/connection.rs
index 61a7f943df..12fd7b25be 100644
--- a/src-tauri/src/commands/connection.rs
+++ b/src-tauri/src/commands/connection.rs
@@ -779,7 +779,7 @@ pub async fn test_connection(state: State<'_, Arc<AppState>>, config: Connection
&url,
username,
password,
- config.url_params,
+ config.url_params.clone(),
Some(&config.ca_cert_path),
connect_timeout,
)?;