IBM / nodejs-idb-connector

A JavaScript (Node.js) library for communicating with Db2 for IBM i, with support for queries, procedures, and much more. Uses traditional callback-style syntax
MIT License
38 stars 23 forks source link

the sql state error seems to be fixed, but we have a different issue #165

Closed kadler closed 1 year ago

kadler commented 1 year ago

the sql state error seems to be fixed, but we have a different issue any numeric values being returned from a stored procedure are not formatted as they were before. numbers come back in the result set looking like this: 36367754\u0000

Originally posted by @mikebohlen in https://github.com/IBM/nodejs-idb-connector/issues/147#issuecomment-1318731491

Looks like we're including the trailing null terminator when we convert back in to a Javascript string. Likely CLI is including this in the length, even though it shouldn't so we might have to adjust it.

mikebohlen commented 1 year ago

Ok, thanks let me know..

mikebohlen commented 1 year ago

if you need anything

github-actions[bot] commented 1 year ago

:wave: Hi! This issue has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed.

abmusse commented 1 year ago

This looks like a duplicate of https://github.com/IBM/nodejs-idb-connector/issues/169