freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] MS-SQL ntext fields?
- Date: Thu, 4 Jan 2007 11:44:58 +0100
>
> Freddy & James-
> Thanks for the tip on specifying the TDS Version in tsql - it
> was running version 4.2, and specifying 8.0 enabled the
> problem queries
> to run fine. isql runs the same queries without trouble (and always
> has), but PHP is still crashing.
>
> I'm beginning to think this is a PHP bug rather than a freeTDS
> bug.... Do you agree?
>
Difficult to say. Perhaps our library is returning some invalid data
that cause PHP to core so perhaps error occur in PHP but problem is our
driver...
Which client charset are you using?
> I'm reading up on how to get a gdb backtrace from the PHP crash,
> but I suspect it might be more fruitful to browse PHP bug discussions.
> Chances are it's not a new bug, as I'm using CentOS and its relatively
> conservative package choices.
>
Get "php script.php" running (and coring too) now you can
$ gdb $(which php) core*
and at gdb prompt
$ bt
(to get back trace) or
$ gdb php
and at gdb prompt
$ r script.php
... wait core ...
$ bt
> BTW, I fed you a snippet from the wrong freetds.conf - I had
> omitted the tds version = line in a different one. After making that
> correction, the query runs fine in tsql without explicitly setting the
> TDS version. (Sadly, adding the correct tds version
> instruction to the
> conf file that actually matters didn't clear up my PHP crashing
> trouble.)
>
freddy77
-
[freetds] MS-SQL ntext fields?,
Rich Young, 01/02/2007
- Re: [freetds] MS-SQL ntext fields?, James K. Lowden, 01/02/2007
- <Possible follow-up(s)>
-
Re: [freetds] MS-SQL ntext fields?,
ZIGLIO, Frediano, VF-IT, 01/03/2007
- Re: [freetds] MS-SQL ntext fields?, Rich Young, 01/03/2007
-
Re: [freetds] MS-SQL ntext fields?,
ZIGLIO, Frediano, VF-IT, 01/04/2007
-
Re: [freetds] MS-SQL ntext fields?,
Rich Young, 01/09/2007
-
Re: [freetds] MS-SQL ntext fields?,
James K. Lowden, 01/09/2007
-
Re: [freetds] MS-SQL ntext fields?,
Rich Young, 01/10/2007
-
Re: [freetds] MS-SQL ntext fields?,
James K. Lowden, 01/10/2007
- Re: [freetds] MS-SQL ntext fields?, Rich Young, 01/12/2007
-
Re: [freetds] MS-SQL ntext fields?,
James K. Lowden, 01/10/2007
-
Re: [freetds] MS-SQL ntext fields?,
Rich Young, 01/10/2007
-
Re: [freetds] MS-SQL ntext fields?,
James K. Lowden, 01/09/2007
-
Re: [freetds] MS-SQL ntext fields?,
Rich Young, 01/09/2007
- Re: [freetds] MS-SQL ntext fields?, ZIGLIO, Frediano, VF-IT, 01/12/2007
Archive powered by MHonArc 2.6.24.