Skip to Content.
Sympa Menu

freetds - Re: [freetds] PHP und Freetds

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] PHP und Freetds
  • Date: Tue, 25 Mar 2008 08:39:53 +0100

>
> >> I have had trouble with the odbc_num_rows() function. It
> seems to always
> >> return -1 if you call it just after odbc_exec(). For me, it always
> >> returned the right value after I looped through all the
> results.(useless
> >> at that point)
>
> >The driver cannot tell you something the server itself
> doesn't know. The
> >server sends the rows as they are produced, and can't (and therefore
> >doesn't) send the rowcount until the last row is sent.
>
> Isn't this the same symptom I was seeing in the 0.82 driver?
> Freddy fixed it in the RC3 release with the rowset test
> change he made around Feb 29th. Is the same defect he was
> fixing in 0.82 still in the 6x code?
>
> Robin

No, this is a protocol limit, surely we can't fix this problem...

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page