freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: MSSQL dblib functions defined but no implementation
- From: "Brian Bruns" <camber AT ais.org>
- To: freetds AT franklin.oit.unc.edu
- Subject: Re: MSSQL dblib functions defined but no implementation
- Date: Tue, 3 Sep 2002 12:26:31 -0400
Well, the good news is that all the protocol stuff to support these is
done (see function tds_process_param_result). The bad news is that there
is no code to glue this data to the functions in dblib.
Indeed, it seems this used to work, there's a param_info in the TDSSOCKET
structure, there are alloc/dealloc routines in mem.c, and the
free_all_results function calls it. What is missing is the code in
tds_process_param_result to allocate and copy the data off the wire.
Anybody know what happened to this?
Brian
> Dear all
>
> We are using FreeTDS to connect from Unix C++ to SQL Server 2000. We
> notice that some dblibrary functions have null implementation. At the
> moment we have come across
> char *dbretname(DBPROCESS *dbproc, int retnum)
> BYTE *dbretdata(DBPROCESS *dbproc, int retnum)
> int dbretlen(DBPROCESS *dbproc, int retnum)
> int dbnumrets(DBPROCESS *dbproc)
> Are they implemented in the next version? Can you give me an update? Are
> there any more such functions? To be very frank, we have assumed that all
> defined functions will be implemented as well. Since the function
> repeatedly failed, we looked at the source code and figured this out
>
> thanks and regards
>
> savitri
-
MSSQL dblib functions defined but no implementation,
Savitri Sarangi, 09/03/2002
- <Possible follow-up(s)>
- Re: MSSQL dblib functions defined but no implementation, Brian Bruns, 09/03/2002
- RE: MSSQL dblib functions defined but no implementation, Lowden, James K, 09/03/2002
- RE: MSSQL dblib functions defined but no implementation, Brian Bruns, 09/03/2002
Archive powered by MHonArc 2.6.24.