pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ludek Finstrle <luf@pzkagis.cz>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: More strict bind param count checking
Date: Fri, 16 Dec 2005 16:50:10 +0100
Message-ID: <20051216155010.GA22144@soptik.pzkagis.cz> (raw)
In-Reply-To: <43A10178.5070107@tpf.co.jp>
References: <20051214002452.GA9345@soptik.pzkagis.cz>
	<43A0EE2D.8090702@tpf.co.jp>
	<20051215051256.GA21336@soptik.pzkagis.cz>
	<43A10178.5070107@tpf.co.jp>

> >>>! 		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 ?

You're absolutely right. Thank you for showing me another view.
This is bad patch. I'll try another way.

Luf



view thread (11+ messages)  latest in thread

Message-ID: <20051216155010.GA22144@soptik.pzkagis.cz>
Permalink:  ../20051216155010.GA22144@soptik.pzkagis.cz/
Also on:    postgresql.org/message-id/20051216155010.GA22144@soptik.pzkagis.cz

 · 

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: luf@pzkagis.cz, inoue@tpf.co.jp
  Subject: Re: More strict bind param count checking
  In-Reply-To: <20051216155010.GA22144@soptik.pzkagis.cz>
  References: <20051214002452.GA9345@soptik.pzkagis.cz> <43A0EE2D.8090702@tpf.co.jp> <20051215051256.GA21336@soptik.pzkagis.cz> <43A10178.5070107@tpf.co.jp> <20051216155010.GA22144@soptik.pzkagis.cz>

* 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