Skip site navigation (1) Skip section navigation (2)

Re: More strict bind param count checking

From: Ludek Finstrle <luf(at)pzkagis(dot)cz>
To: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: More strict bind param count checking
Date: 2005-12-16 15:50:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
> >>>! 		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.


In response to

pgsql-odbc by date

Next:From: Ludek FinstrleDate: 2005-12-16 15:59:32
Subject: Re: Access violation C5 error on Visual FoxPro SQLEXEC() call after error
Previous:From: Ludek FinstrleDate: 2005-12-16 15:35:51
Subject: Re: Does postgresql-odbc work on 64-bit platforms?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group