Bugzilla – Bug 5344
Invalid length parameter passed to SQLSetConnectionAttr(...)
Last modified: 2007-05-31 16:24:01
You need to log in before you can comment on or make changes to this bug.
Calls to SQLSetConnectionAttr(...) should set the length parameter according to the input value pointer contents. In the case of passing a SQL_xxx flag in the vlaue field the length parameter should be either SQL_IS_UINTEGER or SQL_IS_INTEGER. In db.c, the length was passed as 0 in the begintran and endtran functions. ODBC drivers do not all return errors for this condition, but the sqlite3odbc ver. 0.74 does.
Fix committed to HEAD and globus_4_0_branch.