freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddyz77 AT tin.it>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: pre3 lessons
- Date: 05 Sep 2002 10:21:18 +0200
> >
> > dbconvert and cs_convert already check if srclen == 0 and do the right
> > things... I think odbc and tsql should be changed to this behaviour
> > too... But not so sure... What's your opinion ?
>
> You're right. odbc and tsql don't have any way of knowing that zero
> indicates an error.
>
> Testing for srclen > 0 is no more complex than testing for -1 (Bill's
> suggestion), and allows for skipping the call to tds_convert().
>
> We should fix odbc and tsql.
>
Fixed
freddy77
-
pre3 lessons,
Lowden, James K, 09/04/2002
- <Possible follow-up(s)>
- Re: pre3 lessons, Brian Bruns, 09/04/2002
- Re: pre3 lessons, Frediano Ziglio, 09/04/2002
- Re: pre3 lessons, Lowden, James K, 09/04/2002
- Re: pre3 lessons, Frediano Ziglio, 09/05/2002
Archive powered by MHonArc 2.6.24.