Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

COMMIT results in "Invalid or unsupported FunctionCode"

Đang mở
#304 6 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
javascript, node.js
Lĩnh vực
backend, databases

Hướng nghiên cứu

Bắt đầu trong lib/protocol/Result.js tại handle(), sau đó lần theo luồng phản hồi qua Statement.js, Queue.js và Connection.js. Tái hiện vấn đề bằng một câu lệnh COMMIT và kiểm tra cách FunctionCode của nó được xử lý. Được xem là hoàn tất khi COMMIT hoàn thành mà không phát sinh lỗi unsupported-FunctionCode, đồng thời có coverage cho kết quả này nếu repository có vị trí kiểm thử phù hợp.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
JavaScript
Star
322
Fork
99
Merge trung bình
24 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của SAP/node-hdb

Tất cả issue của SAP/node-hdb

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.