30 Aug
2024
30 Aug
'24
9:23 a.m.
Hans Leidekker (@hans) commented about dlls/odbc32/proxyodbc.c:
} else if (env->hdr.win32_handle) { + if (env->hdr.win32_funcs->SQLGetEnvAttr) + ret = env->hdr.win32_funcs->SQLGetEnvAttr( env->hdr.win32_handle, SQL_ATTR_ODBC_VERSION, &env->driver_ver, 0, NULL );
SQL_ATTR_ODBC_VERSION is used to indicate the behavior the driver/manager conforms to. SQL_DRIVER_ODBC_VER indicates the real driver version AFAICT. In any case, this is not the right place to get the attribute. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6408#note_80514