node-tds icon indicating copy to clipboard operation
node-tds copied to clipboard

Nullable varchar columns with null values is throwing index out of bounds exception.

Open tdarsan opened this issue 12 years ago • 0 comments

Deletion of this line, as part of #12, in row.token.coffee file is causing issues with nullable varchar columns and is throwing index out of bounds exception. Eg:- a varchar(9) nullable column with null values in it will thow an exception.

if val.length is 0xFFFF then val.length = -1

tdarsan avatar Nov 22 '12 18:11 tdarsan