Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.

Hiroshi Inoue

In response to

pgsql-odbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group