You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple as that. If I add a 1234123 value to a SmallInt, I receive this error:
TypeError: value is out of bounds at checkInt (buffer.js:716:11) at Buffer.writeInt16LE (buffer.js:874:5) at WritableTrackingBuffer.writeInt16LE (lib\mssql\node_modules\tedious\lib\tracking-buffer\writable-tracking-buffer.js:165:19) at Object.writeParameterData (lib\mssql\node_modules\tedious\lib\data-type.js:108:23) at BulkLoad.addRow (lib\mssql\node_modules\tedious\lib\bulk-load.js:126:16) at lib\mssql\node_modules\mssql\lib\tedious.js:688:22 at Transaction.queue (lib\mssql\node_modules\mssql\lib\main.js:1010:9) at Request._acquire (lib\mssql\node_modules\mssql\lib\main.js:1178:33) at Request.TediousRequest.bulk (lib\mssql\node_modules\mssql\lib\tedious.js:609:21) at Request._bulk (lib\mssql\node_modules\mssql\lib\main.js:1457:53)
Following the source code, BulkLoad do not validate anything before calling AddRow.
The text was updated successfully, but these errors were encountered:
Simple as that. If I add a 1234123 value to a SmallInt, I receive this error:
TypeError: value is out of bounds at checkInt (buffer.js:716:11) at Buffer.writeInt16LE (buffer.js:874:5) at WritableTrackingBuffer.writeInt16LE (lib\mssql\node_modules\tedious\lib\tracking-buffer\writable-tracking-buffer.js:165:19) at Object.writeParameterData (lib\mssql\node_modules\tedious\lib\data-type.js:108:23) at BulkLoad.addRow (lib\mssql\node_modules\tedious\lib\bulk-load.js:126:16) at lib\mssql\node_modules\mssql\lib\tedious.js:688:22 at Transaction.queue (lib\mssql\node_modules\mssql\lib\main.js:1010:9) at Request._acquire (lib\mssql\node_modules\mssql\lib\main.js:1178:33) at Request.TediousRequest.bulk (lib\mssql\node_modules\mssql\lib\tedious.js:609:21) at Request._bulk (lib\mssql\node_modules\mssql\lib\main.js:1457:53)
Following the source code, BulkLoad do not validate anything before calling AddRow.
The text was updated successfully, but these errors were encountered: