ordinary-s

Results comments of ordinary-s

I'd like to take this issue. I'll first reproduce the problem against a real KingbaseES environment, trace how database/schema/catalog metadata flows into DataGrid DML generation, add a regression test, and...

I’d like to work on this issue. I’ll try to reproduce the HTTP tunnel performance problem, identify the bottleneck, and provide a fix with regression coverage if possible.

Implemented in #8249. The fix bounds value/all searches to one cursor page per explicit continuation, clamps value scans to COUNT 100, prevents automatic main scans from resuming independent subtree work,...

已在 [#11299](https://github.com/t8y2/dbx/pull/11299) 修复已复现的 Oracle 查询连接泄漏问题,待合并后随版本发布。 根因:部分对象列触发 go-ora `QueryContext` panic 后,上层虽然捕获异常,但 `database/sql` 的连接归还和事务读锁释放被跳过。重复查询会耗尽连接池,导致同一会话后续普通查询也持续等待;列元数据异常也存在 Rows 清理遗漏。 修复:在薄驱动查询边界处理 panic 并淘汰异常连接,补齐元数据及首屏异常清理;异常事务拒绝继续读写,显式回滚可完成,提交则回滚并报错。保留正常事务、`FOR UPDATE` 和分页游标语义,不增加超时或连接池容量,不新增自动重试。 验证:`go test ./...`、`go test -race ./...`、`go vet ./...`、修改文件的 gofmt 检查及 Windows...

已在 [#11297](https://github.com/t8y2/dbx/pull/11297) 修复,待合并后随版本发布。 根因:MySQL 驱动按列返回复合外键元数据,但 `diff_foreign_keys_with_options` 按约束名只保存一条目标记录,前面的列被最后一列覆盖,导致同库自比较也拿不同列相互比较。原始 `qrtz.sql` 中 5 个三列外键因此误报为 10 条差异,并生成重复、不完整的 DROP/ADD SQL。 修复:架构比较层按完整约束组装并保留有序列对,前后端传输、选择依赖、同步及回滚 SQL 均使用完整复合外键;继续比较引用关系、列映射和级联规则。未命名外键保持独立并逐条匹配,避免空名称合并造成真实差异漏报。 验证:`cargo test -p dbx-sql-schema --no-default-features --locked` 700/700 通过,前端相关测试 107/107 通过;原附件在 MySQL 8.4.11、5.7.44...