Fix for crash in mySQL ODBC Driver
am 19.08.2011 21:35:30 von Larry McGhaw --_000_3FF14D57861CDB4EA19D3D402FACC56F4245EF4CEXCHANGEcorpo ra_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
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 =3D (SQLULEN) Va=
luePtr;
options.c - line 184:
*((SQLUINTEGER *) ValuePtr)=3D options->retrieve_data;
handle.c -- line 210:
dbc->stmt_options.retrieve_data =3D TRU=
E;
results.c - line 1547:
if (stmt->stmt_options.retrieve_data)
res=3D fill_fetch_buffers(stmt, values,=
i);
Thanks
lm
--_000_3FF14D57861CDB4EA19D3D402FACC56F4245EF4CEXCHANGEcorpo ra_--