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(jdbc): use non-empty Java test fixtures

skyler2d4b6f85fcf1
diff --git a/crates/dbx-core/src/agent_manager.rs b/crates/dbx-core/src/agent_manager.rs
index 7a4b9880ff..ccd20aee58 100644
--- a/crates/dbx-core/src/agent_manager.rs
+++ b/crates/dbx-core/src/agent_manager.rs
@@ -77,7 +77,7 @@ mod tests {
if let Some(parent) = path.parent() {
fs::create_dir_all(parent).unwrap();
}
- fs::write(path, b"").unwrap();
+ fs::write(path, b"test executable").unwrap();
#[cfg(unix)]
{
use std::os::unix::fs::PermissionsExt;
diff --git a/crates/dbx-core/src/connection.rs b/crates/dbx-core/src/connection.rs
index 98d2fd4731..a4bb07434a 100644
--- a/crates/dbx-core/src/connection.rs
+++ b/crates/dbx-core/src/connection.rs
@@ -6200,7 +6200,7 @@ mod tests {
if let Some(parent) = path.parent() {
std::fs::create_dir_all(parent).unwrap();
}
- std::fs::write(path, b"").unwrap();
+ std::fs::write(path, b"test executable").unwrap();
#[cfg(unix)]
{
use std::os::unix::fs::PermissionsExt;