[freetds] SP parameters

Gustavo A. Gonzalez ggonzalez at telviso.com.ar
Tue Jun 27 16:58:38 EDT 2006


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


More information about the FreeTDS mailing list