freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Peter Deacon <peterd AT iea-software.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] ODBC driver (odbc.c)
- Date: Fri, 17 Oct 2003 18:30:15 -0700 (Pacific Daylight Time)
On Fri, 17 Oct 2003, James K. Lowden wrote:
> On Fri, 17 Oct 2003, Peter Giorgilli <pgiorgilli AT theage.fairfax.com.au>
> wrote:
> >Basically, what was happening was that the "_SQLExecute" function was not
> >trapping the "TDS_FAIL" return code (generated as a result
> > of the connection dying) and returning "SQL_SUCCESS" by default. The
> > "SQLMoreResults" was in turn being called, when strictly it shouldn't
> > have been, the end result being that the process would end up in a tight
> > loop.
> ...
> > After all of that, the patch below seems to have done the trick.
> Thanks for the work and the patch, Peter. :-)
I'm pretty sure this was already fixed in cvs with one of the 'sqlexec
succeeds too much' patches.
Have Fun!
Peter
-
[freetds] ODBC driver (odbc.c),
Peter Giorgilli, 10/16/2003
- Re: [freetds] ODBC driver (odbc.c), James K. Lowden, 10/17/2003
- <Possible follow-up(s)>
- Re: [freetds] ODBC driver (odbc.c), Peter Deacon, 10/17/2003
- RE: [freetds] ODBC driver (odbc.c), ZIGLIO Frediano, 10/20/2003
Archive powered by MHonArc 2.6.24.