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

Crash when calling SQLSetDescField

From: "Han" <zhouhanok(at)vip(dot)sina(dot)com>
To: pgsql-odbc(at)postgresql(dot)org <pgsql-odbc(at)postgresql(dot)org>
Subject: Crash when calling SQLSetDescField
Date: 2002-12-25 07:21:19
Message-ID: 20021225071919.048FD4758E1@postgresql.org (view raw or flat)
Thread:
Lists: pgsql-odbc
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(at)vip(dot)sina(dot)com
          2002-12-25




Responses

pgsql-odbc by date

Next:From: jaydip rathodDate: 2002-12-27 05:21:47
Subject: help
Previous:From: Hiroshi InoueDate: 2002-12-25 06:47:59
Subject: Re: Multithread support for same connection?

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