freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: James Ponder <james AT squish.net>
- 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 15:03:25 +0100
On Wed, Oct 18, 2000 at 02:30:46PM +0100, James Ponder wrote:
> I just tried DBD::FreeTDS instead of DBD::Sybase and it doesn't have
> this problem! Does the former use a different API to the latter?
Another point:
Turns out the implementation of DBD::FreeTDS is such that it stops when
it gets to a null character anyway, so it wouldn't exhibit this problem
anyway, if it were something wrong with FreeTDS itself. I note that
DBD::FreeTDS is able to get integers though, but I suppose this depends
on whether there is another API to use whether or not this indicates a
bug in FreeTDS or DBD::Sybase.
DBD::FreeTDS seems to have it's own problems though - it fails to
notice the difference between a CHAR and VARCHAR and all CHARS are
padded with spaces :-(
Who knew this would be so difficult.
Best wishes, James
--
James Ponder; www.squish.net
-
ints don't work, trailing null on strings,
James Ponder, 10/18/2000
- <Possible follow-up(s)>
- Re: ints don't work, trailing null on strings, Geoff Winkless, 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, Geoff Winkless, 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, 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
Archive powered by MHonArc 2.6.24.