Re: Crash when calling SQLSetDescField - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: Crash when calling SQLSetDescField
Date
Msg-id 3E0CEF5A.F0B8D17D@tpf.co.jp
Whole thread Raw
In response to Crash when calling SQLSetDescField  ("Han" <zhouhanok@vip.sina.com>)
List pgsql-odbc
Han wrote:
>
> Hi,
>
>         Following steps lead to crash!
>         1. call SQLAllocHandle to allocate a statement handle
>         2. call SQLGetStmtAttr(...,SQL_ATTR_IMP_PARAM_DESC,...) to get the IPD of the stmt handle
>         3. call SQLSetDescField(...,1,SQL_DESC_PARAMETER_TYPE,...)
>         The 3rd step leads to crash.
>         But SQLSetDescField(...,1,SQL_DESC_CONCISE_TYPE,...) will not crash, and following call to set
SQL_DESC_PARAMETER_TYPEwill not crash either. 

OK please try the cvs.

regards,
Hiroshi Inoue
    http://w2422.nsk.ne.jp/~inoue/

pgsql-odbc by date:

Previous
From: "Han"
Date:
Subject: Crash when calling SQLSetDescField
Next
From: Martin_Hurst@dom.com
Date:
Subject: ODBC - adding missing FROM clause entry