Skip to Content.
Sympa Menu

freetds - Re: ints don't work, trailing null on strings

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • 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 17:32:44 +0100


On Wed, Oct 18, 2000 at 07:25:01AM -0700, Michael Peppler wrote:
> > I'm using DBD::Sybase dated "1/Sep/100" (ho ho).
> Hmmm... where do you get that string, please?

That was perldoc's interpretation of your $Id string in Sybase.pm.

> BTW - DBD::Sybase doesn't do anything to the variables that it
> retrieves - it simply uses the ct_bind() API call to bind retrieved
> data to program variables and expects ct_bind() to do any necessary
> conversion...

Ok, I think it's beginning to look like the NULL termination is FreeTDS's
fault, but DBD::FreeTDS manages to get integer values correctly whereas
DBD::Sybase didn't... You might want to look at this.


Best wishes, James
--
James Ponder; www.squish.net




Archive powered by MHonArc 2.6.24.

Top of Page