Hans Leidekker (@hans) commented about dlls/odbc32/proxyodbc.c:
SQLLEN buflen, SQLLEN *retlen )
{ if (stmt->hdr.win32_funcs->SQLGetData)
- {
if ( ((struct environment*)(stmt->hdr.parent))->attr_version == SQL_OV_ODBC2)
{
The parent of a statement is not an environment object.