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

From: Date: Wed, 01 Dec 1999 12:01:27 +0000
Subject: RE: [PHP4BETA] php4+freetds, off-by-1 truncation
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-7163@lists.php.net to get a copy of this message
> -----Original Message----- > From: richard@iguana.co.nz [mailto:richard@iguana.co.nz] > Sent: Wednesday, December 01, 1999 01:03 AM > To: 'php4beta@lists.php.net' > Subject: [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. I had this a week or so back. I still haven't had time to investigate further, I just installed one of my ealier RPMs. Try removing extra librarys such as tifflib, zlib, jpeglib, pdflib, gd, freetds one at a time in that order and see when it starts working. Certainly I had the problem but was not using freetds. Sam

« previous php.version4 (#7163) next »