Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id CFAE847691F for ; Sun, 1 Dec 2002 23:40:46 -0500 (EST) Received: from vip.sina.com (unknown [202.108.35.178]) by postgresql.org (Postfix) with SMTP id 4063B476852 for ; Sun, 1 Dec 2002 23:40:18 -0500 (EST) Received: (qmail 5650 invoked from network); 2 Dec 2002 04:40:14 -0000 Received: from unknown (HELO zh) (218.108.232.5) by 202.108.35.178 with SMTP; 2 Dec 2002 04:40:14 -0000 From: "Han" To: pgsql-odbc@postgresql.org Subject: psqlodbc07.02.0006 bug report X-mailer: Foxmail 4.2 [cn] Mime-Version: 1.0 Content-Type: text/plain; charset="GB2312" Content-Transfer-Encoding: quoted-printable Date: Mon, 2 Dec 2002 12:40:58 +0800 Message-Id: <20021202044018.4063B476852@postgresql.org> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/4 X-Sequence-Number: 2393 Hi, After returning SQL_NEED_DATA or SQL_ERROR, for example, SQLPrepare(hstmt,= "", SQL_NTS) will return SQL_ERROR), calling SQLGetDiagField(SQL_HANDLE_ST= MT, hstmt, 0, SQL_DIAG_NUMBER, &sdNum, sizeof(sdNum), NULL) will never retu= rn and the application will be in dead loop. =A1=A1=A1=A1Regards,=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1 =20=09=09=09=09 =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1Han =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1zhouhanok@vip.sina.com =A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A1=A12002-12-02