Skip to Content.
Sympa Menu

freetds - RE: [freetds] return status for ctlib

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] return status for ctlib
  • Date: 03 Jan 2003 17:40:14 +0100

Il ven, 2003-01-03 alle 16:56, Lowden, James K ha scritto:
> > From: Frediano Ziglio [mailto:freddyz77 AT tin.it]
> > Sent: January 3, 2003 4:25 AM
> > > > Yes but this broke ODBC code.
> > > > ODBC do not expect status returned as ROW, only binding result...
> > >
> > > What unittest, what line number, did I break? libtds
> > > manufactures the row,
> > > but only ct-lib knows to go looking for it
> >
> > Simply ODBC and dblib do not expect a row after
> > STATUS_RESULT, so you have to discard this row...
> > Other solution is to more row creation in ctlib (IMHO the best method)
>
> Frediano, Can you tell me exactly what's wrong? Looking at the ODBC code, I
> don't see that I broke anything. The row doesn't show up automatically;
> ct-lib has to set a flag and go find it. If ODBC is being surprised
> somehow, I'm sure it will be easy to remedy.
>
> Regards (and Happy New Year),
>

Happy new year too!

It's true (ODBC never has possibility to read the row) but API like
SQLDescribeCol return information about this strange "ghost" row...

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page