freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Bruns <camber AT umcc.ais.org>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: ints don't work, trailing null on strings
- Date: Wed, 18 Oct 2000 20:01:11 -0400 (EDT)
It's been a while so my memory may be a little shaky (wouldn't be the first
time ;-)
But it seems that doing a STRINGBIND on a varchar did exactly that under
msdblib, using NTBSTRINGBIND acted as you would expect. Like I said, I need
to go back and test the exact configuration of char/varchar,
STRINGBIND/NTBSTRINGBIND, and sybase/mssql to get the right results.
Brian
On Wed, 18 Oct 2000, Bob Kline wrote:
> On Wed, 18 Oct 2000, Brian Bruns wrote:
>
> > t0009 has been failing for me for a while, so I wouldn't put much
> > weight on that. I'm not sure whether the test is flawed or freetds
> > is flawed. I seem to remember that this an area where Sybase vs. MS
> > Dblib differed and this test fails under Sybase behaviour. I need
> > to run on the real dblib to verify.
>
> Are you saying that the database is *supposed* to send back a string
> padded out on the right with blanks for a VARCHAR(10) column (that's
> what the test is expecting to happen)? Doesn't sound right to me.
>
> --
> Bob Kline
> mailto:bkline AT rksystems.com
> http://www.rksystems.com
>
>
-
Re: ints don't work, trailing null on strings
, (continued)
- Re: ints don't work, trailing null on strings, Michael Peppler, 10/18/2000
- Re: ints don't work, trailing null on strings, James Ponder, 10/18/2000
- Re: ints don't work, trailing null on strings, Michael Peppler, 10/18/2000
- Re: ints don't work, trailing null on strings, Bob Kline, 10/18/2000
- Re: ints don't work, trailing null on strings, Brian Bruns, 10/18/2000
- Re: ints don't work, trailing null on strings, Brian Bruns, 10/18/2000
- Re: ints don't work, trailing null on strings, James Ponder, 10/18/2000
- Re: ints don't work, trailing null on strings, James Ponder, 10/18/2000
- Re: ints don't work, trailing null on strings, Bob Kline, 10/18/2000
- Re: ints don't work, trailing null on strings, Bob Kline, 10/18/2000
- Re: ints don't work, trailing null on strings, Brian Bruns, 10/18/2000
- Re: ints don't work, trailing null on strings, Brian Bruns, 10/18/2000
- Re: ints don't work, trailing null on strings, Michael Peppler, 10/18/2000
- Re: ints don't work, trailing null on strings, James Ponder, 10/19/2000
- Re: ints don't work, trailing null on strings, Bob Kline, 10/19/2000
Archive powered by MHonArc 2.6.24.