Skip to Content.
Sympa Menu

freetds - Re: [freetds] ODBC driver (odbc.c)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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




Archive powered by MHonArc 2.6.24.

Top of Page