Skip to content

COMMIT results in "Invalid or unsupported FunctionCode" #304

Description

@daniel-kullmann

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions