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。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
fix(i18n): update legacy DuckDB error assertion
t8y228476358ffd0
diff --git a/apps/desktop/src/i18n/__tests__/backendErrors.spec.ts b/apps/desktop/src/i18n/__tests__/backendErrors.spec.tsindex 3bb6ea22db..23c33daa33 100644--- a/apps/desktop/src/i18n/__tests__/backendErrors.spec.ts+++ b/apps/desktop/src/i18n/__tests__/backendErrors.spec.ts@@ -166,7 +166,8 @@ describe("backend error translation", () => {});// Matching on message text only works while both sides agree on the wording, so-// pin the literals that the patterns above depend on to their Rust source.+// pin current backend literals to their Rust source. Compatibility-only patterns+// may remain after the backend stops emitting them.describe("backend error wording is pinned to the Rust sources", () => {const rust = (path: string) => readFileSync(new URL(`../../../../../${path}`, import.meta.url), "utf8");@@ -174,7 +175,6 @@ describe("backend error wording is pinned to the Rust sources", () => {["crates/dbx-core/src/query_result_export.rs", "XLSX supports at most 1,048,575 data rows. Use CSV export for the full result."],["crates/dbx-core/src/query_result_export.rs", "Streaming export is unsupported for this query. Simplify it or use a supported driver."],["crates/dbx-core/src/query_result_export.rs", "Streaming export needs a result-set session, but this driver returned no session_id."],- ["crates/dbx-core/src/query.rs", "The previous DuckDB query is still stopping. Please try again shortly."],["crates/dbx-core/src/agent_service.rs", "Failed to remove the old JRE directory: "],["crates/dbx-core/src/agent_service.rs", "is in use by drivers: "],["crates/dbx-core/src/agent_service.rs", "agent-registry.json not found in the ZIP; not a valid offline driver package."],diff --git a/apps/desktop/src/i18n/backend-errors.ts b/apps/desktop/src/i18n/backend-errors.tsindex ba85d673d7..963056e8df 100644--- a/apps/desktop/src/i18n/backend-errors.ts+++ b/apps/desktop/src/i18n/backend-errors.ts@@ -68,7 +68,7 @@ const patterns: [RegExp, string][] = [[/^Streaming export is unsupported for this query\. Simplify it or use a supported driver\.$/, "exportProgress.streamingUnsupported"],[/^Streaming export needs a result-set session, but this driver returned no session_id\.$/, "exportProgress.agentSessionMissing"],- // Query execution (crates/dbx-core/src/query.rs)+ // Legacy bundled DuckDB error kept for compatibility with older backends.[/^The previous DuckDB query is still stopping\. Please try again shortly\.$/, "editor.duckdbDraining"],// Driver / JRE management (crates/dbx-core/src/agent_service.rs, routes/agents.rs)