Skip to Content.
Sympa Menu

freetds - Re: [freetds] SP output parameter problem on 0.63

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Frank M. Kromann" <frank AT kromann.info>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Cc: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] SP output parameter problem on 0.63
  • Date: Mon, 21 Nov 2005 22:15:30 -0800

Hi James,

> I updated src/dblib/unittests/rpc.c to make it a little more rigorous
and
> make the output easier to read. The test uses 4 output parameters and
> returns correctly. It will be interesting to see why Frank's code sees
> dbnumrets() returning 0.

When did you do this? I'll update from CVS when I get to work tomorrow
(PST).

> Frank, are you adhering to this:
>
> "Note that a stored procedure can generate several sets of results-one
> for each select it contains. Before the application can call dbnumrets
or
> any other routines that process return parameters, it must call
dbresults
> and dbnextrow as many times as necessary to process all the results."

I Think I have it correct, though the procedure I used does not include
any result sets. I'll try with another procedure as well.

Not sure if I mentioned it but linking the PHP extension with ntwdblib
(Microsofts old library) works fine but dblib.lib from FreeTDS does not
work on Win32 or on Linux.

- Frank
- Frank







Archive powered by MHonArc 2.6.24.

Top of Page