Skip to Content.
Sympa Menu

freetds - Re: [freetds] trouble passing (var)char data to and from stored procedures

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Alexander Urmazov" <alexurm AT gmail.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] trouble passing (var)char data to and from stored procedures
  • Date: Thu, 16 Mar 2006 13:18:46 +0300

Yes, you are right.
When I set length for input parameter to -1 all became fine.

Thank you!

2006/3/15, Allan Kim <akim AT freedom.com>:
>
> If I'm not mistaken, mssql_bind() is pretty much just a wrapper for
> dbrpcparam() in rpc.c. That function normally logs an entry like
> "dbrpcparam added parameter" -- if you don't see that in the dump logs,
> I'd suspect that you're failing input validation in dbrpcparam (most of
> which was added post-0.62).
>
> One possibility ... are you trying to bind an input parameter? If so you
> may not need to specify MAXLEN. Here's something from the published
> specs from our friends in Redmond:
>




Archive powered by MHonArc 2.6.24.

Top of Page