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: "Arnar Birgisson" <ArnarB AT oddi.is>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Freetds/php empty recordsets.
  • Date: Fri, 27 Jun 2003 09:01:45 +0000

I think this was fixed in 0.61.1, but I don't know where one could get
the tarball, anyone?

Any news on the next stable release?

Arnar

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




Archive powered by MHonArc 2.6.24.

Top of Page