mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-20 02:57:55 +08:00
ODBC bug fix: reset length location on rebind
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user