[freetds] mssql_query() returns boolean when storedprocedure returns empty result set

Michael Sims michaels at crye-leike.com
Thu Apr 1 15:51:29 EST 2004

Thompson, Bill D (London) wrote:
> If you want to do a quick test Michael - try this:

Thanks a lot, that does seem to take care of it.  Strangely enough, PHP's
gettype() function still says the returned value is an integer when
using --with-sybase, even with your patch applied, while gettype() reports
"resource" when using --with-mssql.  But mssql_fetch_object() doesn't
complain, and returns the correct results.  While that is certainly unusual
it's probably not worth worrying about.

Thanks again to everyone who spent time on tracking this down.

Michael Sims
Project Analyst - Information Technology
Crye-Leike Realtors
Office: (901)758-5648  Pager: (901)769-3722

More information about the FreeTDS mailing list