Skip to Content.
Sympa Menu

freetds - Re: [freetds] dbrpcsend fails (works now, BUT THERE IS MORE)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT schemamania.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] dbrpcsend fails (works now, BUT THERE IS MORE)
  • Date: Thu, 25 Mar 2004 00:05:26 -0500

On Thu, 25 Mar 2004, "Polyanovskyi, Sasha" <sasha.polyanovskyi AT oa.com.au>
wrote:
> I've changed the code to the suggested way, now neither case :-)
> (actualy my procedures are a bit different in a number of params that
> get passed)
>
> Suggested way:
> while (dbresults() != NO_MORE_ROWS)
> {
> process columns...;
> process return status...;
> process results;
> }

I updated src/dblib/unittests/rpc.c to issue a more complex stored
procedure and to (try to) process its results. The test now fails,
meaning it correctly reports our broken rpc implementation.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page