Skip to Content.
Sympa Menu

freetds - Re: [freetds] SP parameters

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Gustavo A. Gonzalez" <ggonzalez AT telviso.com.ar>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] SP parameters
  • Date: Tue, 27 Jun 2006 17:58:38 -0300

I think that the trouble is in load NULL parameter values with dbrpcparam, i
dont know when pass 0 or -1 in datalen and maxlen parameters. Why it works
fine on a 0.62.4 version of freetds and wont work on a 0.63 version?.

What means "query.c:1058: tds_put_data: Assertion
`curcol->column_varint_size' failed.Aborted". Im working with 6 parameters

op=0 SYBINT, maxle=datalen=-1
cardnum="xxxxxxxxxxxx" SYBCHAR
aninum="xxxxxxxxxxx" SYBCHAR

estado=0 SYBINT as RETURN PARAMETER
saldo= ? SYBMONEY as RETURN PARAMETER
cliente=0 SYBINT as RETURN PARAMETER

I dont understand how load it with DBRPCPARAM.


Thanks




Archive powered by MHonArc 2.6.24.

Top of Page