Skip to Content.
Sympa Menu

freetds - RE: [freetds] Freetds/php empty recordsets.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Freetds/php empty recordsets.
  • Date: Fri, 27 Jun 2003 14:57:18 -0400

> From: Arnar Birgisson [mailto:ArnarB AT oddi.is]
> Sent: June 27, 2003 5:02 AM
>
> I think this was fixed in 0.61.1, but I don't know where one could get
> the tarball, anyone?

Nick mentioned to me that the web site is out of date, but any release will
always be on ibiblio.

ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.61.1.tar.gz

also not to be overlooked:

ftp://ftp.ibiblio.org/pub/Linux/ALPHA/freetds/current/freetds-pre-utf8.tgz

I doubt either of these fixes the problem; it's not mentioned in the
ChangeLog. I would appreciate feedback.

> Any news on the next stable release?

Not before October, probably before Christmas. That's my guess. :-)

--jkl

> >>> tim AT diligence.com 26.6.2003 17:21:17 >>>
> Hello.
>
> I recently upgraded both my php and freetds and now I get a strange
> behavior when I pull up empty recordsets.
>
> when I pull up a empty recordset the following things occur.
>
> 1) the function mssql_query does not return a valid handle but instead
>
> returns a value of 1.
> 2) mssql_num_rows returns 0 (as expected).
> 3) mssql_num_fields also returns a 0 (which is bad).
>
> If I pull up at least one record then the field information
> is returned
> OK
> and the query handle is OK.
>
> I am using freebsd, freetds .61 and php 4.3.2
>
> The recordset is pulled up via "select * from tablename where keyfield
> = -1"
>
>
>
> :wq
> Tim Uckun
> US Investigations Services/Due Diligence
> http://www.diligence.com/
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>
-----------------------------------------
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the original
message. Please note that we do not accept account orders and/or instructions
by e-mail, and therefore will not be responsible for carrying out such orders
and/or instructions.






Archive powered by MHonArc 2.6.24.

Top of Page