Package: tclodbc Version: any Severity: important X-Debbugs-Cc: christian.wer...@t-online.de
Dear Maintainer, according to its description, the SQLDescribeParam() ODBC API counts the parameter numbers starting with 1. However, in the statemnt.cxx a loop over the parameters of a query is run starting with 0 as parameter number. In consequence, data type mapping of the client parameters to the query might become wrong heavily depending on the actual query itself. Problem can be easily resolved by changing SQLDescribeParam(..., i, ...); to SQLDescribeParam(..., i+1, ...); BR, Christian -- System Information: Debian Release: 11.7 APT prefers oldstable-updates APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-25-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages tclodbc depends on: ii libc6 2.31-13+deb11u6 ii libgcc-s1 [libgcc1] 10.2.1-6 ii libgcc1 1:8.3.0-6 ii libodbc1 2.3.6-0.1+b1 ii libstdc++6 10.2.1-6 ii odbcinst1debian2 2.3.6-0.1+b1 ii tcl 8.6.11+1 tclodbc recommends no packages. _______________________________________________ Pkg-tcltk-devel mailing list Pkg-tcltk-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-tcltk-devel