node-tds
node-tds copied to clipboard
Nullable varchar columns with null values is throwing index out of bounds exception.
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