Skip to Content.
Sympa Menu

freetds - RE: TODO

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Brian Bruns" <camber AT ais.org>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: RE: TODO
  • Date: Wed, 4 Sep 2002 12:38:18 -0400


Ok, so it affects libtds only, I can live with that, but we should fix it
sooner or later.

Brian

> Brian,
>
> The problem is as follows:
>
> calling dbconvert() to convert varchar -> varchar bypasses the call to
> tds_convert().
>
> however when tds_convert() is called to convert a varchar of 0 length to a
> varchar it returns a length of 0 ( quite right too ).
>
> Unfortunately the error handling at the bottom of tds_convert captures the
> return of the sub-functions ( which is the length of the converted data or
> TDS_FAIL)
> Unfortunately TDS_FAIL is #defined to 0
>
> you can deduce what's happening...
>
>
> maybe we should somethin other than TDS_FAIL in convert.c
> #define TDS_CONVERT_FAIL -1 perhaps ?
>
> Bill



  • TODO, ZIGLIO Frediano, 09/04/2002
    • <Possible follow-up(s)>
    • RE: TODO, Lowden, James K, 09/04/2002
    • Re: TODO, Brian Bruns, 09/04/2002
    • RE: TODO, Brian Bruns, 09/04/2002
    • RE: TODO, Thompson, Bill D (London), 09/04/2002
    • RE: TODO, Brian Bruns, 09/04/2002
    • RE: TODO, Thompson, Bill D (London), 09/04/2002
    • RE: TODO, Eric Deutsch, 09/04/2002
    • RE: TODO, Brian Bruns, 09/04/2002
    • RE: TODO, Thompson, Bill D (London), 09/04/2002
    • RE: TODO, Frediano Ziglio, 09/04/2002
    • RE: TODO, Lowden, James K, 09/04/2002
    • RE: TODO, Frediano Ziglio, 09/04/2002

Archive powered by MHonArc 2.6.24.

Top of Page