COMMIT results in "Invalid or unsupported FunctionCode"
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- javascript, node.js
调研方向
从 lib/protocol/Result.js 中的 handle() 开始,然后跟踪经过 Statement.js、Queue.js 和 Connection.js 的回复流程。使用 COMMIT 语句重现该问题,并检查其 FunctionCode 的处理方式。完成的标准是 COMMIT 在不引发 unsupported-FunctionCode 错误的情况下完成;如果 repository 中有相关的测试位置,还需要为此结果添加覆盖。
由索引模型根据 Issue 内容生成。
描述
When I execute a "commit" statement, this results in the following error:
Error: Invalid or unsupported FunctionCode
at Result.handle (.../node_modules/hdb/lib/protocol/Result.js:113:13)
at handleReply (.../node_modules/hdb/lib/protocol/Statement.js:173:12)
at receive (.../node_modules/hdb/lib/util/Queue.js:114:18)
at Connection.receive (.../node_modules/hdb/lib/protocol/Connection.js:455:5)
at TLSSocket.ondata (.../node_modules/hdb/lib/protocol/Connection.js:289:12)
at TLSSocket.emit (node:events:519:28)
at addChunk (node:internal/streams/readable:561:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)
at Readable.push (node:internal/streams/readable:392:5)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:189:23)
The commit works, and I can circumvent the problem by try-catching the exception and ignoring it, but it would be nice if this was supported.
- 主要语言
- JavaScript
- 星标
- 323
- 派生
- 99
- 平均合并
- 24 分钟
- 30 天内合并 PR
- 1
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
SAP/node-hdb 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 65/100
-
Add support for statement distribution可能重新可做 @linjun-he-sap 于 122 天前认领,目前没有进行中的 PR。 未关闭enhancement
-
难度 4/5 3-5 天 新手友好度 30/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 25/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
apache/rocketmq-dashboard#6896 ·
维护者通常 3 天内回复
-
bug engine
难度 2/5 1-3 小时 新手友好度 86/100
frostney/GocciaScript#1746 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 76/100
SasanLabs/VulnerableApp#836 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
keyxmakerx/Chronicle#1469 ·
维护者通常 1 天内回复