Skip to content

msnodesqlv8 v2 support - #1157

Merged
dhensby merged 4 commits into
tediousjs:masterfrom
dhensby:pulls/msnodesqlv8-v2-support
Jan 14, 2021
Merged

dhensby merged 4 commits into
tediousjs:masterfrom
dhensby:pulls/msnodesqlv8-v2-support

Conversation

@dhensby

@dhensby dhensby commented Dec 31, 2020

Copy link
Copy Markdown
Collaborator

What this does:

fixes #1139

@dhensby
dhensby force-pushed the pulls/msnodesqlv8-v2-support branch 2 times, most recently from 5d57909 to 85cf33d Compare December 31, 2020 12:58
@dhensby dhensby added this to the v7.0.0 milestone Jan 6, 2021
@dhensby

dhensby commented Jan 6, 2021

Copy link
Copy Markdown
Collaborator Author

@TimelordUK - sorry to prod on this but I'm getting a few issues opening about axios (a nested dependency) having a security vulnerability and so is increasing the need to get v7 out and stable.

Would you mind taking a look at applying the suggested improvements to the master branch as I just wasn't able to follow the diff you provided as it's against a old version of the lib I was unable to find.

@TimelordUK

TimelordUK commented Jan 6, 2021 via email

Copy link
Copy Markdown
Contributor

@TimelordUK

Copy link
Copy Markdown
Contributor

OK this seems to be related to your streaming class where you call resume to a query that has not been paused (every row?) and indeed is about to close from msnodesqlv8. This is simple to fix my side in sense what actually happens is I go back to native driver asking for more rows which fails and throws an uncaught exception - however I would of thought your side should not make call?

I am testing a fix at moment - will release shortly. I also see from your test suite multiple errors are not supported when indeed they are. This is a very simple PR I can submit to collect them as you do for tedious and this test can then be enabled.

in any case with the 2.0.10 msnodesqlv8 about to release your side will work and tests can be enabled for pipe

@dhensby
dhensby force-pushed the pulls/msnodesqlv8-v2-support branch from 1098e68 to ad684d8 Compare January 14, 2021 13:33
@dhensby
dhensby merged commit 5923bba into tediousjs:master Jan 14, 2021
@dhensby
dhensby deleted the pulls/msnodesqlv8-v2-support branch January 14, 2021 15:32
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.

Add explicit msnodesqlv8 v2 support

2 participants