Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id D4C69475BA0 for ; Fri, 27 Dec 2002 19:23:02 -0500 (EST) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 98269475461 for ; Fri, 27 Dec 2002 19:23:01 -0500 (EST) Received: (qmail 12734 invoked from network); 28 Dec 2002 00:23:03 -0000 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 28 Dec 2002 00:23:03 -0000 Received: from tpf.co.jp (3dgateway1 [126.0.1.60]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id JAA10067; Sat, 28 Dec 2002 09:23:03 +0900 (JST) Message-ID: <3E0CEF5A.F0B8D17D@tpf.co.jp> Date: Sat, 28 Dec 2002 09:24:58 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Han Cc: "pgsql-odbc@postgresql.org" Subject: Re: Crash when calling SQLSetDescField References: <20021225071919.048FD4758E1@postgresql.org> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/108 X-Sequence-Number: 2497 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/