Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

修复无法读取OB受影响行数的问题#4

Merged
whhe merged 1 commit intowhhe:oceanbasefrom
davidzhangbj:patch-fix-ob-affectrows
Jan 10, 2025
Merged

修复无法读取OB受影响行数的问题#4
whhe merged 1 commit intowhhe:oceanbasefrom
davidzhangbj:patch-fix-ob-affectrows

Conversation

@davidzhangbj
Copy link

s.db.Raw(sqlStr).Scan(dest)方法无法直接把EXPLAIN查询的结果映射到dest即OceanBaseQueryPlan,只读取了第一行
所以这里手动把每一行拼一下,赋值给OceanBaseQueryPlan.QueryPlan

@whhe whhe merged commit 95fa246 into whhe:oceanbase Jan 10, 2025
1 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants