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: "Robin Smith" <Robin AT ndigital.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] PHP und Freetds
  • Date: Mon, 24 Mar 2008 22:30:31 -0400



>> 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
----------------------






Archive powered by MHonArc 2.6.24.

Top of Page