Commit Graph
2176 Commits
Author SHA1 Message Date
t8y2 ca427715af fix(sqlserver): read tinyint precision/scale/length columns as u8 from tiberius 2026-06-18 13:08:09 +08:00
ptma 7ef6c1022e pref(transfer): prefer native table DDL from source for same-family transfers 2026-06-18 12:40:33 +08:00
t8y2 d3f7ba2cc9 fix(schema-diff): pass objectType for views so Dameng GET_DDL uses VIEW not TABLE 2026-06-18 12:37:04 +08:00
t8y2 13636452d4 fix: implement responsive overflow for right toolbar icons 2026-06-18 12:33:15 +08:00
t8y2 a9d1b48dd5 fix(ai): skip temperature and thinking-disable for Kimi K2.5+ models 2026-06-18 12:32:10 +08:00
t8y2 4ebf041601 chore(test): remove fragile database-type mapping tests 2026-06-18 12:15:10 +08:00
t8y2 a2d4d52113 fix(mysql): skip tcp probe for direct ip connections 2026-06-18 11:55:18 +08:00
t8y2 e926adde42 fix(test): update GBase tree shape assertions and skip MQ in capability checks 2026-06-18 11:54:38 +08:00
二丫讲梵 8e5eac9eab feat(workflow): 添加同步到 CNB 的工作流 2026-06-18 11:42:54 +08:00
ptma e7ee0c9ec1 fix(questdb): handle materialized views and unify table_type naming
* fix(questdb): handle materialized views

* fix(test): fix rust test problems
2026-06-18 11:40:57 +08:00
t8y2 ad0a9075b5 fix(core): include table when dropping IRIS index 2026-06-18 11:00:19 +08:00
t8y2 8de8a85d66 fix(transfer): ClickHouse ORDER BY must cover PRIMARY KEY columns 2026-06-18 10:50:53 +08:00
t8y2 03e5e27c79 fix(ai): prevent marked parse error from crashing chat during streaming 2026-06-18 10:30:28 +08:00
Libon f1b8579994 style: improve UI interface 2026-06-18 02:01:00 +08:00
t8y2 4aa907d8b5 fix: handle legacy gbase driver_profile and add MCP driver_profile param 2026-06-18 01:45:33 +08:00
t8y2 d6544ba4be fix(oceanbase): add ojdbc compatibility parameter 2026-06-18 00:52:37 +08:00
t8y2 26cc2fdc4c fix: pass numeric precision/scale fields through bridge column mapping 2026-06-18 00:48:59 +08:00
t8y2 00541291e3 feat(ssh): support custom SSH agent socket path 2026-06-18 00:15:08 +08:00
t8y2 c4c427fb67 fix: sort tables by FK dependency in transfer and export 2026-06-18 00:00:37 +08:00
t8y2 71db24813e fix(informix): add informix_server field to test helpers 2026-06-17 22:59:22 +08:00
t8y2 1aa48cf636 fix(informix): add informix_server field for direct INFORMIXSERVER input 2026-06-17 22:59:13 +08:00
t8y2 48af146b95 fix(table-structure): quote default values for string column types 2026-06-17 22:36:16 +08:00
leic4u 268ee99328 feat(docs): add WinGet installation instructions
* Added WinGet installation instructions in README

Added WinGet installation instructions for DBX.

* Added WinGet installation in README.zh-CN.md

Added WinGet installation instructions for DBX.
2026-06-17 22:12:59 +08:00
xcstatus 417a48ccfe fix(mcp): route ssh transport layers through desktop bridge 2026-06-17 22:06:33 +08:00
至高吾尚 f89bf310b4 fix(mysql): fix garbled Chinese in sidebar table comment
Apply fix_potential_double_encoding() to table/object comment fields
returned by list_tables(), list_table_status_show(), and row_to_object(),
consistent with the existing fix for column comments (c21b5d0).

The sidebar tree displays TABLE_COMMENT directly from these functions,
so when MySQL returns Latin1-decoded bytes for UTF-8 content, the
comment shows as garbled text like 'OAéƒ¨é—¨åŒæ­¥è¡¨' instead of
'OA部门同步表'.
2026-06-17 21:16:30 +08:00
t8y2 22b8ba17bb fix(schema): handle view DDL object types 2026-06-17 19:29:24 +08:00
bigliangzao 7643148708 fix(mysql): prevent panic on Chinese characters in WHERE clause
Fix UTF-8 boundary issues in mysql_top_level_limit, parse_usize_token,
and mysql_keyword_at functions that caused crashes when SQL contains
Chinese characters in string literals.

The issue was introduced in commit 021e1682 which added byte-level
indexing without proper UTF-8 boundary checks. When parsing SQL with
Chinese text (e.g., \"WHERE name LIKE '%批量保存%'\"), the byte index
could point to the middle of a multi-byte UTF-8 character, causing
Rust to panic when slicing the string.

Changes:
- parse_usize_token: Use std::str::from_utf8 to validate slice before parsing
- mysql_keyword_at: Add is_char_boundary checks for safe string slicing
- mysql_top_level_limit: Skip non-UTF-8-boundary bytes after incrementing index

This ensures all byte-level indexing operations stay on valid UTF-8 boundaries,
preventing panics while maintaining the original functionality of detecting
LIMIT clauses for bounded result set collection.

Fixes crash reported by users when executing queries with Chinese conditions.
2026-06-17 19:00:05 +08:00
林剑凛 9bc19cf3b0 fix: apply editor font to document preview 2026-06-17 17:39:38 +08:00
bigliangzao 45f16cfa2e perf: optimize xlsx export to reduce memory allocations 2026-06-17 17:21:04 +08:00
t8y2 a0136c5bd7 fix(ai): parse ollama reasoning stream chunks 2026-06-17 17:13:48 +08:00
github-actions[bot] a2ed6dab6c chore(jdbc): bump plugin version [skip ci] 2026-06-17 08:11:21 +00:00
t8y2 b7e47863da feat(release): bump version to 0.5.34 v0.5.34 2026-06-17 16:11:04 +08:00
t8y2 9a66bc4fa2 style: remove extra blank line in redis_driver 2026-06-17 15:59:21 +08:00
t8y2 b0cc3ed0d6 fix(sql): split current statement on blank lines 2026-06-17 15:54:57 +08:00
t8y2 6e7035823a fix(editor): use editor snapshot for SQL execution 2026-06-17 15:30:31 +08:00
t8y2 4dbd1c7cc8 fix: convert source to editable form when opening view/procedure editor 2026-06-17 15:20:21 +08:00
dalew 4888e637c7 fix(redis): unify aggregated INFO output format in console
* fix(redis):format INFO output as plain text in cluster mode

* fix(redis): unify aggregated INFO output format in console
2026-06-17 14:54:51 +08:00
luoianun 021e1682c3 fix(mysql): avoid Aliyun ADB timeout for bounded text results 2026-06-17 14:53:13 +08:00
lexmin0412 e6e3cf11f2 fix(connection): preload visible database list on dialog open for accurate summary count 2026-06-17 14:46:17 +08:00
Spencer.Chang 598b5dfef8 feat: add query editor view data context action 2026-06-17 14:42:15 +08:00
t8y2 66fa986a9b fix(sqlserver): include column comments in table DDL 2026-06-17 14:36:16 +08:00
Spencer.Chang a68e8c680f feat: add data grid condition history controls 2026-06-17 12:08:10 +08:00
dalew 8486d27cb2 fix(redis): unify INFO category command output in cluster mode
* fix(redis):format INFO output as plain text in cluster mode

* fix(redis): unify INFO category command output in cluster mode

In Redis cluster mode, the INFO command (with category parameters) returns aggregated results from multiple primaries. This fix formats the output as human-readable plain text, consistent with standalone mode, to improve readability.

Closes #1326
2026-06-17 11:20:07 +08:00
t8y2 66e6ca1211 fix(db): refresh stale native pools 2026-06-17 11:14:35 +08:00
haipengno1 b575ec2729 fix(redis): refresh sidebar db key counts after write commands
Redis write commands (SET/DEL/...) ran from the query editor or the
key-browser terminal did not update the dbN (count) labels in the left
tree until a manual refresh. Add refreshRedisDbKeyCounts(), which re-fetches
authoritative per-db counts via INFO keyspace and patches the labels in place
without rebuilding the tree (preserving expanded key nodes), then trigger it
fire-and-forget after any mutating command in both execution paths.
2026-06-17 10:35:01 +08:00
miracle b2617039fa fix(mysql): normalize smart quotes in JSON input
* fix(grid): normalize smart quotes in JSON input to prevent parse errors

When manually typing JSON values in the data grid, input methods (especially
Chinese IME and macOS smart punctuation) can automatically convert standard
ASCII quotes to smart quotes (U+201C, U+201D, etc.), causing JSON parse failures.

Changes:
- Remove incorrect logic that tried to parse original value before normalization
- Add hasSmartQuotes() function to detect 7 types of smart quotes:
  * Chinese quotes: U+201C, U+201D
  * German quotes: U+201E, U+201F
  * Smart single quotes: U+2018, U+2019
  * Fullwidth quote: U+FF02
- Rewrite normalizeSmartQuotes() using charCodeAt to avoid oxc compiler issues
- Add comprehensive tests for MySQL JSON field quote normalization

All existing tests remain passing.

* fix(grid): preserve valid JSON while normalizing smart quotes
2026-06-17 10:33:10 +08:00
t8y2 5a08d42258 feat: make sidebar table page size configurable in settings 2026-06-17 02:00:15 +08:00
t8y2 a052bcd2cd fix(jdbc): pass through JDBC identifiers unquoted in frontend 2026-06-17 01:40:06 +08:00
t8y2 29e7267d31 fix(mongodb): set directConnection=true for single-host to bypass replica set discovery 2026-06-17 01:31:08 +08:00
t8y2 74d9bbd3e5 fix(sqlserver): replace OFFSET/FETCH with TOP/ROW_NUMBER for pre-2012 compatibility 2026-06-17 01:26:56 +08:00