Re: More strict bind param count checking - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: More strict bind param count checking
Date
Msg-id 43A10178.5070107@tpf.co.jp
Whole thread Raw
In response to Re: More strict bind param count checking  (Ludek Finstrle <luf@pzkagis.cz>)
Responses Re: More strict bind param count checking
Re: More strict bind param count checking
List pgsql-odbc
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

pgsql-odbc by date:

Previous
From: "Anoop Kumar"
Date:
Subject: Re: Next development steps?
Next
From: "Dave Page"
Date:
Subject: Re: Does postgresql-odbc work on 64-bit platforms?