Re: PHP und Freetds

"Robin Smith" <[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
-- 

-----------------------
Robin Smith
Senior Manager, Information Technology
NDI
103 Randall Drive
Waterloo, ON, Canada N2V 1C5
Telephone: +1 (519) 884-5142 ext. 224
Toll Free: +1 (877) 634-6340
Global: ++ (800) 634-634-00
Facsimile: +1 (519) 884-5184
Website: www.ndigital.com
----------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.