abamara
abamara
In the dbstmt.cc code When using a 2D array for parameters, for a clob we need to use 0 or 1 bind indicator, since there is no CLOB indicator at...
nodejs-idb-connector/cli is adding the clob x00 to fill all the clob. Since it is working well when I use 1D array parameters but not 2D array parameters
The problem I end with a lot of x'00' values, and I was only inserting a small string. If my CLOB is 10 MB, it will always end with 10MB...
I tested with the same javascript string, I got different results ( works well with 1D array params but not with 2 array params )
``` const db = require('idb-connector'); wDbconn = new db.dbconn(); ... dbStmt = new db.dbstmt(wDbconn); var sql = "INSERT INTO MYTABLE (MYCLOB) VALUES ( ? ) WITH NONE\n"; var params =...
Hi, If I use db.SQL_CLOB, I get this error ; BIND INDICATOR FOR PARAMETER 4IS INVALID db.SQL_ALL_TYPES is equivalent to 0. db.CLOB is defined as 0 ?