Re: [ODBC] SQL_QUERY_TIMEOUT - Mailing list pgsql-odbc

From Inoue, Hiroshi
Subject Re: [ODBC] SQL_QUERY_TIMEOUT
Date
Msg-id 5215542f-0f5e-b721-1d5e-0651e916692a@dream.email.ne.jp
Whole thread Raw
In response to [ODBC] SQL_QUERY_TIMEOUT  (Keith Handlon <Keith.Handlon@sas.com>)
List pgsql-odbc
Hi Keith,

On 2017/08/02 3:22, Keith Handlon wrote:

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?


Probably they were described when there was no 64bit ODBC.
SQLULEN == SQLUINTEGER on 32bit ODBC,

regards,
Hiroshi Inoue
 

 

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: "Inoue, Hiroshi"
Date:
Subject: Re: [ODBC] ODBC application works while libpq fails
Next
From: Kazuki Uehara
Date:
Subject: [ODBC] When doing installcheck, an error message "unresolved external symbol_get_test_dsn ..." displays.