🐛 fix(tdengine): 修复查询结果仅显示执行日志

- TDengine 只读查询跳过不支持的多结果集探测
- 保证可选驱动代理通过普通查询返回完整行列数据
- 补充应用层与驱动层回归测试

Fixes #610
This commit is contained in:
Syngnat
2026-07-19 13:32:52 +08:00
parent 94ad5ae2f6
commit 2428fe6cc5
4 changed files with 96 additions and 2 deletions

View File

@@ -1700,6 +1700,11 @@ func shouldPreferPlainReadQueryResult(dbType string) bool {
"gaussdb", "gauss_db", "gauss-db",
"dameng", "dm", "dm8":
return true
case "tdengine":
// TDengine only implements the plain query API. The optional driver-agent
// exposes a transport-level multi-result method, but reports it unsupported.
// Skipping that probe prevents a successful SELECT from becoming an empty result.
return true
default:
return false
}