pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Han <zhouhanok@vip.sina.com>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Crash when calling SQLSetDescField
Date: Wed, 25 Dec 2002 15:21:19 +0800
Message-ID: <20021225071919.048FD4758E1@postgresql.org> (raw)

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.
	

  Regards,     
 				

        Han
        zhouhanok@vip.sina.com
          2002-12-25






view thread (2+ messages)  latest in thread

Message-ID: <20021225071919.048FD4758E1@postgresql.org>
Permalink:  ../20021225071919.048FD4758E1@postgresql.org/
Also on:    postgresql.org/message-id/20021225071919.048FD4758E1@postgresql.org

 · 

reply

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: zhouhanok@vip.sina.com
  Subject: Re: Crash when calling SQLSetDescField
  In-Reply-To: <20021225071919.048FD4758E1@postgresql.org>
  References: <20021225071919.048FD4758E1@postgresql.org>

* 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