When SQL_QUERY_TIMEOUT was added it was defined as SQLULEN as per the current ms odbc spec. But as of 3.5 wasn’t it a SQLUINTEGER?
It looks like the majority of the other attributes like (SQL_NOSCAN, SQL_RETRIEVE_DATA, etc) are defined as SQLUINTEGER.
This could cause a memory overwrite if its treated like an SQLUINTEGER like the other attributes.
Thanks,
Keith