Mark Irish

Results 34 comments of Mark Irish

Well, I forgot that ODBC uses `SQLProcedureColumns` then calls `SQLFetch` a ton of times... so the log was less than helpful. How about this. Run the following query, and let...

And it looks like you are passing in 75 values. Not sure why it thinks there is a mistmatch. How about a cwb trace, maybe that will tell us a...

Hi @snotmare , I now have a branch called `print-param-count`. When you run your stored procedure, it should tell you how many parameters it thinks you passed, and how many...

Oh sorry for the confusion, I'm just interested in what it should spit out to the console. It should just print stuff out when you run `node whatever.js`

@snotmare you may need to recompile the program after you pulled down the branch: ``` npm run build ``` What I am expecting in the output is two lines that...

Hi @snotmare , So I did track down what might be the issue. When `SQLProcedureColumns` is called, it appears our IBM i driver returns the values not based on the...

Hi @SabaKauser , (Everything below is in reference to v2.0 and above, which is a complete rewrite of `odbc` for Node.js. I have v2.0.0 done, and will release it later...

The `odbc` connector does not use SQLPutData anywhere in the code: Parameters are expected to be bound with SQLBindParameter (and are done in the C++ code when a parameter array...

https://github.com/markdirish/node-odbc/blob/ca5c37727522ea309f90327d59b0eb2938da8969/src/odbc.cpp#L291 On line 291 of `src/odbc.cpp`, if you change the truth check to `if (options->connectionTimeout >= 0) {`, does that solve the issue? Reading the ODBC documentation, it seems that...

These are the Db2 CLI docs, which is 90-95% the same as ODBC, but for some reason don't seem to have this timeout... The option can be found at the...