mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
ODBC bug fix: reset length location on rebind
This commit is contained in:
parent
00a66cc57f
commit
06ea2517e9
@ -629,6 +629,7 @@ SQLRETURN SQL_API SQLBindCol(
|
|||||||
/* if this is a repeat */
|
/* if this is a repeat */
|
||||||
if (cur) {
|
if (cur) {
|
||||||
cur->column_bindtype = fCType;
|
cur->column_bindtype = fCType;
|
||||||
|
cur->column_lenbind = (int *)pcbValue;
|
||||||
cur->column_bindlen = cbValueMax;
|
cur->column_bindlen = cbValueMax;
|
||||||
cur->varaddr = (char *) rgbValue;
|
cur->varaddr = (char *) rgbValue;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user