Fix for crash in mySQL ODBC Driver
Larry McGhaw <[email protected]> Fri, 19 Aug 2011 19:35:30 +0000
| Newsgroups | gmane.comp.db.mysql.odbc |
|---|---|
| Message-ID | <3FF14D57861CDB4EA19D3D402FACC56F4245EF4C@EXCHANGE.corporate.connx.com> |
the MySQL ODBC Driver was not properly honoring the RETRIEVE_DATA attribute, which is used by the OLEDB Provider for ODBC Driver.
This patch resolves that problem.
under driver, the affected files & lines are
options.c - line 110:
options->retrieve_data = (SQLULEN) ValuePtr;
options.c - line 184:
*((SQLUINTEGER *) ValuePtr)= options->retrieve_data;
handle.c -- line 210:
dbc->stmt_options.retrieve_data = TRUE;
results.c - line 1547:
if (stmt->stmt_options.retrieve_data)
res= fill_fetch_buffers(stmt, values, i);
Thanks
lm