Re: PHP und Freetds
"ZIGLIO, Frediano, VF-IT" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
> > >> 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