From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Han <zhouhanok@vip.sina.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: Crash when calling SQLSetDescField
Date: Sat, 28 Dec 2002 09:24:58 +0900
Message-ID: <3E0CEF5A.F0B8D17D@tpf.co.jp> (raw)
References: <20021225071919.048FD4758E1@postgresql.org>
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/
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: Inoue@tpf.co.jp, zhouhanok@vip.sina.com
Subject: Re: Crash when calling SQLSetDescField
In-Reply-To: <3E0CEF5A.F0B8D17D@tpf.co.jp>
References: <20021225071919.048FD4758E1@postgresql.org> <3E0CEF5A.F0B8D17D@tpf.co.jp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox