Skip to Content.
Sympa Menu

freetds - Re: pre3 lessons

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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






Archive powered by MHonArc 2.6.24.

Top of Page