ODBC bug fix: reset length location on rebind

This commit is contained in:
Nirgal Vourgère 2013-07-07 19:42:49 +02:00
parent 00a66cc57f
commit 06ea2517e9

View File

@ -629,6 +629,7 @@ SQLRETURN SQL_API SQLBindCol(
/* if this is a repeat */
if (cur) {
cur->column_bindtype = fCType;
cur->column_lenbind = (int *)pcbValue;
cur->column_bindlen = cbValueMax;
cur->varaddr = (char *) rgbValue;
} else {