[ODBC] SQL_QUERY_TIMEOUT - Mailing list pgsql-odbc

From Keith Handlon
Subject [ODBC] SQL_QUERY_TIMEOUT
Date
Msg-id b19d33869457442faad80e7d73e65d55@MERCMBX49R.na.SAS.com
Whole thread Raw
Responses Re: [ODBC] SQL_QUERY_TIMEOUT  ("Inoue, Hiroshi" <h-inoue@dream.email.ne.jp>)
List pgsql-odbc

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

pgsql-odbc by date:

Previous
From: Igor Korot
Date:
Subject: [ODBC] ODBC application works while libpq fails
Next
From: Igor Korot
Date:
Subject: Re: [ODBC] ODBC application works while libpq fails