Skip to Content.
Sympa Menu

freetds - Re: FreeBSD 2.2.8, Apache 1.3.4, PHP 3.0.6- core dumped :(

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT umcc.ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: FreeBSD 2.2.8, Apache 1.3.4, PHP 3.0.6- core dumped :(
  • Date: Tue, 9 Feb 1999 16:50:53 -0500 (EST)



On Tue, 9 Feb 1999, Dmitry Melekhov wrote:

> It's partially work :(
>
> Connect seems good.
> But when I try to execute
> <? $handle=sybase_connect('SYBASE', 'sa', 'gudvin_dba');
> print "1\n";
> sybase_select_db('squid');
> print "2\n";
> // sybase_query("set dateformat dmy");
> $result=sybase_query("select * from q");
> while($row=sybase_fetch_array($result)) {
> print $row[0];print "\n"; }
> print "ok\n";
> ?>
>
Can you send me the table definition for 'q'? I'm guessing it may have a
problem with one of the columns datatype.

> I get strange output (see attach) there must be only one string
> test
>
> Then:
> when I try to get more data FreeBSD froze, so doesn't want to do
> anythint until ctrl-c, and I get _nothing_ !!! But dataserver was worked
> it use cpu time.
>
> I have Sybase 11.0.3.3 on Linux.
>
>
> BTW, can I compile sybase::dbd with freetds?
Almost, it is on our list. There is also a dbd driver available through
our CVS tree (Craig Spannring wrote it). It is pretty crude currectly but
may work depending on your needs.
> ---
> Dmitry Melekhov
> (aka 2:5050/11.23@fidonet)
> http://www.aspec.ru/~dm
>
Brian






Archive powered by MHonArc 2.6.24.

Top of Page