Skip to Content.
Sympa Menu

freetds - Re: Null terminated strings?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Ian Struble" <iks AT callwave.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Null terminated strings?
  • Date: Tue, 27 Jun 2000 17:09:17 -0700


Yes, it is fixed in CVS. I believe it was fixed a week or two after 0.50
was released. You might not have to make your own patches at all if you can
wait for the next release. I thought that I saw something about a 0.60
release in the next couple weeks.

Ian

----- Original Message -----
From: Brian Macy <bmacy AT siterock.com>
To: TDS Development Group <freetds AT franklin.oit.unc.edu>
Sent: Tuesday, June 27, 2000 4:52 PM
Subject: [freetds] Re: Null terminated strings?


> Does anyone know if this particular bug is fixed in CVS and preferably
> what file(s) the fix is in? .... needing to put freeTDS into production
> in only 2 weeks and want to make my own patch set based off of 0.50 with
> only the fixes I need.
>
> Brian Macy
>
> "Gary D. Duzan" wrote:
> >
> > Sounds like you are using the release version. Try the CVS
> > version; it has some important things fixed.
> >
> > Gary Duzan
> > GTE Laboratories
> >
> > In Message
<LYR103859-64001-2000.06.27-18.28.09--gduzan#gte.com AT franklin.oit.unc.edu> ,
> > "Mike" <mpultz AT uniserve.com> wrote:
> >
> > =>I am using Freetds on a FreeBSD 3.4 machine. It connects to the
database =
> > =>fine, but when it actually returns any values, the information is not
=
> > =>correct. For example; it goes into the database a pulls a varchar
field =
> > =>out that contains either Y or N (active or non active), when it
returns =
> > =>the value, it show's only the "Y", but it's string length is 2. If I
use =
> > =>the chop function (Perl), it chops the ending character (whatever it
is) =
> > =>and then the script works fine. Is this simply null terminating
strings =
> > =>when it returns them?
> > =>
> > =>here is some output from the script:
> > =>
> > =>Length=3D 2, Value =3D "Y"
> > =>FATAL: platid 1007 has impossible active value "Y". With Length 2 =
> > =>Aborting.
> >
> > ---
> > You are currently subscribed to freetds as: bmacy AT siterock.com
> > To unsubscribe, forward this message to
$subst('Email.Unsub')
>
> ---
> You are currently subscribed to freetds as: iks AT callwave.com
> To unsubscribe, forward this message to
$subst('Email.Unsub')
>
>





Archive powered by MHonArc 2.6.24.

Top of Page