On 10/04/2023 01:40 PM, Sergei Golovan wrote:
Hi, Massimo, Christian,

As far as I can see in the code, the parameter index is calculated as
i+1 from the loop variable i:

for (i = 0; i < nParams; ++i) {
    rc = SQLDescribeParam(sdata->hStmt, i+1,
...

Can you be more specific in which query fails and how?

If there's really an i+1 everything is fine and please ignore my noise.
Most likely my fault since I've looked into my private and very old branch
of the tclodbc sources.

BTW: it can hit any query since the data type mapping goes off-by-one.

BR,
Christian


_______________________________________________
Pkg-tcltk-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-tcltk-devel

Reply via email to