Skip to Content.
Sympa Menu

freetds - Re: [PHP4BETA] php4+freetds, off-by-1 truncation

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Christian Oyarzun" <oyarzun AT wilmington.net>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: [PHP4BETA] php4+freetds, off-by-1 truncation
  • Date: Thu, 2 Dec 1999 18:01:24 -0500


I had a similar problem with PHP 3.0.x. Try compiling php4 with the other
sybase libs not the ct

--Christian
----- Original Message -----
From: <richard AT iguana.co.nz>
To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
Cc: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
Sent: Thursday, December 02, 1999 4:18 PM
Subject: [freetds] [PHP4BETA] php4+freetds, off-by-1 truncation


> > > > Hey people.
> > > >
> > > > We have php4 and freetds working correctly, and talking to the
> > > > database (Both versions are CVS from Tuesday) however we have a
> > > > slight problem with the sybase-ct module. Now before I go hacking
> > > > around, I thought I'd ask if anyone has a good idea why the
> > > > following would be happening:
> > > >
> > > > Strings are all too short by 1 char (final letter is always missing)
> > > > Row count is off on occasion.
> > > >
> > > > I don't believe these two are related particularly, so ideas on one
or
> > > > both appreciated.
>
> A possibility was offered that it may be a conflict with other libraries,
> however we have no other libraries installed. Further details:
>
> The relevant box is a debian box (potato) with:
>
> - Freetds (tuesday CVS)
> - PHP4b3 (tuesday CVS) w gd and sybase-ct
> - Sybperl (Latest stable from CPAN)
> - SQSH (latest stable)
>
> Installed.
>
> SQSH and Sybperl are functioning 100% correctly, PHP is connecting
> correctly, and for the most part working, except for the following:
>
> Every string line recieved from a hash is one character short
>
> My conclusion from this is that for some reason the Sybase-ct module in
> PHP is setting the length wrong or similar.
>
> My previous note about invalid row counts I haven't been able to verify
> (however I have regards the one-char-short issue) so this may not be a
> problem.
>
> Richard.
>
>
> ---
> You are currently subscribed to freetds as: co AT wilmington.net
> To unsubscribe, forward this message to
$subst('Email.Unsub')
>





Archive powered by MHonArc 2.6.24.

Top of Page