-
Notifications
You must be signed in to change notification settings - Fork 444
Open
Description
see this:
tedious/src/data-types/varchar.js
Lines 55 to 68 in c22ed18
| writeParameterData: function(buffer, parameter) { | |
| if (parameter.value != null) { | |
| if (parameter.length <= this.maximumLength) { | |
| buffer.writeUsVarbyte(parameter.value, 'ascii'); | |
| } else { | |
| buffer.writePLPBody(parameter.value, 'ascii'); | |
| } | |
| } else { | |
| if (parameter.length <= this.maximumLength) { | |
| buffer.writeUInt16LE(NULL); | |
| } else { | |
| buffer.writeUInt32LE(0xFFFFFFFF); | |
| buffer.writeUInt32LE(0xFFFFFFFF); | |
| } |
You use the ascii encoding, is it incorrect?
I see you consider the encoding in value-parser.js.
So I find that the input parameter encoding is not correct, the select result is correct.
Metadata
Metadata
Assignees
Labels
No labels