Skip to Content.
Sympa Menu

freetds - [freetds] Segmentation fault retrieving non-NULL datetime fields

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Robert Benjamin <freetds228 AT lewenberg.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] Segmentation fault retrieving non-NULL datetime fields
  • Date: Sat, 05 Nov 2005 08:41:32 -0600

I am using freetds 0.63 with php 4.4.1. I have a simple script which executes the query

"SELECT [DateModified] FROM PEOPLE WHERE LastName LIKE '%Smith%'


When fetching the data with the code

while ($row = $rs->fetchRow(DB_FETCHMODE_ASSOC))
{
print "Date modified is " . $row["DateModified"] . "\n" ;
}

if the DateModified is _not_ NULL, I get a segmentation fault. If the field _is_ NULL, there is not a problem. The locales.conf is unchanged from the one that comes with the distribution. I have been using php and freetds for several years and have never seen this kind of problem.

Has anyone run across this kind of problem?

Thanks in advance,

Robert Benjamin

P.S. The software is running under Redhat Enterprise Linux 3.




Archive powered by MHonArc 2.6.24.

Top of Page