Skip to content

Errors aren't raised from NextResult() #1032

Closed

Description

@roji

When an error occurs in a later statement in a multistatement command, the exception is thrown from the first Read() call instead of from the NextResult() call.

We already have a pending message mechanism in the reader, so just read the first message in NextResult() and store it as pending.

Note this is the same issue as #400 but for the multistatement scenario.

Activity

  1. self-assigned this
    on Apr 19, 2016
  2. added this to the milestone on Apr 19, 2016
  3. added a commit that references this issue on Apr 21, 2016
    e602bb1
  4. added theissue type on Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions