Skip to Content.
Sympa Menu

freetds - Re: [freetds] dbresults() behavior different between RH7.3 and CentOS4

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] dbresults() behavior different between RH7.3 and CentOS4
  • Date: Sat, 21 Oct 2006 16:53:39 -0400

James K. Lowden wrote:
> Back in July we had a long discussion on a
> related topic [cf.
> https://lists.ibiblio.org/sympa/arc/freetds/2006q3/020266.html]. Your
> question got me thinking. How *can* he fetch the return statuses?

I just committed changes to dblib to correct dbresults(). It now returns
SUCCEED even if a return status is the only result.

Doxygen comments have been updated to reflect "my current thinking" which
is much closer to Sybase's documentation. The t0022 unit test has also
been enhanced to check for this behavior.

No changes were required to libtds, so other APIs aren't affected. All I
know for sure is that the db-lib unit tests all pass on a Microsoft
server. Testing with bsqldb doesn't show what I expect, but I've run out
of time.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page