Null terminated strings?
Gary D. Duzan
gdd0 at gte.com
Tue Jun 27 18:53:13 EDT 2000
Sounds like you are using the release version. Try the CVS
version; it has some important things fixed.
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 =
More information about the FreeTDS