Values get cut to 50 chars on odbcget

Comment on Asterisk app_dbodbc
jwegener
Joined: Fri 16 of Jan, 2004

Values get cut to 50 chars on odbcget

Posted:Fri 10 of Nov, 2006 (13:13 UTC)
For me it worked to change a value in line 682 from 50 to 265.

SQLBindCol(ODBC_stmt, 1, SQL_C_CHAR, &tmp, 50, &ODBC_err);

SQLBindCol(ODBC_stmt, 1, SQL_C_CHAR, &tmp, 256, &ODBC_err);

--
Jens