Skip to content

Conversation

@sfc-gh-pcyrek
Copy link
Contributor

Description

Please explain the changes you made here.

Checklist

  • Create tests which fail without the change (if possible)
  • Make all tests (unit and integration) pass (npm run test:unit and npm run test:integration)
  • Extend the types in index.d.ts file (if necessary)
  • Extend the README / documentation and ensure is properly displayed (if necessary)
  • Provide JIRA issue id (if possible) or GitHub issue id in commit message

@sfc-gh-pcyrek sfc-gh-pcyrek requested a review from a team as a code owner November 5, 2025 13:46
testUtil.checkError(err);
const stream = stmt.streamRows();
let rowCount = 0;
let doneCalled = false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is the right approach. Node event emitter stream should produce only 1 end value: either error or end, not both.

So seems like there's a bug in our RowStream implementation where under some cases it produces 2 events

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants