Re: Crash when calling SQLSetDescField

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Han <zhouhanok(at)vip(dot)sina(dot)com>
Cc: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Crash when calling SQLSetDescField
Date: 2002-12-28 00:24:58
Message-ID: 3E0CEF5A.F0B8D17D@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_TYPE will not crash either.

OK please try the cvs.

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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Jim Holliday 2002-12-30 22:36:42 Re: bug in info.c file - incorrect SQL
Previous Message William S. Bear 2002-12-27 16:32:57 datetime to timestamp