Closed gsbelarus closed 4 years ago
Show the code, please.
Please, consider this PR https://github.com/asfernandes/node-firebird-drivers/pull/32.
Async getPlan() is not working, the test falls with error.
Though in the considered PR we get plan for INSERT
statement, the same result would be obtained for a SELECT
statement too.
Can you confirm the issue?
From what I understand, the problem happens when Firebird API methods returning string returns a nullptr
.
So, async
and sync
versions of getPlan
use different API calls?
Is it possible to find a reason of the problem and fix it. I have put a small donation )) Thanks anyway!
I will look deep into the problem. It seems to require changes in the cloop-generator to change the generated code.
Thank you for the donation. :)
Fix is committed in master. Can you test it before I release it in npm?
Is it possible to publish through NPM as beta version? It would be much easier for me to test then.
Published as 1.0.1-beta.1.
Installed latest beta and tested. All works as expected. Thanks.
I just published 1.0.1.
When using
getPlanAsync()
we are receiving the error.getPlanSync()
works well at the same time.