X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2CF269DCA6E for ; Thu, 15 Dec 2005 01:39:37 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 85881-07 for ; Thu, 15 Dec 2005 01:39:36 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sd.tpf.co.jp (dns.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 958BF9DCA67 for ; Thu, 15 Dec 2005 01:39:33 -0400 (AST) Received: (qmail 15797 invoked from network); 15 Dec 2005 14:39:32 +0900 Received: from unknown (HELO ?100.0.32.145?) (100.0.32.145) by sd2.tpf-fw-c.co.jp with SMTP; 15 Dec 2005 14:39:32 +0900 Message-ID: <43A10178.5070107@tpf.co.jp> Date: Thu, 15 Dec 2005 14:39:04 +0900 From: Hiroshi Inoue User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: ja, en-us, en MIME-Version: 1.0 To: Ludek Finstrle CC: pgsql-odbc@postgresql.org Subject: Re: More strict bind param count checking References: <20051214002452.GA9345@soptik.pzkagis.cz> <43A0EE2D.8090702@tpf.co.jp> <20051215051256.GA21336@soptik.pzkagis.cz> In-Reply-To: <20051215051256.GA21336@soptik.pzkagis.cz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.811 required=5 tests=[RCVD_IN_WHOIS_BOGONS=1.811] X-Spam-Score: 1.811 X-Spam-Level: * X-Archive-Number: 200512/191 X-Sequence-Number: 6670 Ludek Finstrle wrote: >>Hi Ludek, thanks to your recent effort to improve the psqlodbc driver. >>Please let me comment on your patch a little. > > > Hello, > > your comments are welcome. > > >>>! if (ipdopts->allocated == marker_count) >> >>Why are you using the operator '==' not '>=' ? >>AFAIK there's no such limitation. > > > We have problems with Visual FoxPro. It calls SQLCancel without > FreeStmt(SQL_RESET_PARAMS). It leads to failure becouse next > ExecDirect with fewer parameters in some cases think that it > has data_at_exec (which was parameters from previous). Isn't it the right solution for the problem to check data_at_exec appropriately ? regards, Hiroshi Inoue