Skip to Content.
Sympa Menu

freetds - Re: PHP4.ORC2 and freetds ??

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Sam Sam" <s4m AT mailcity.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: PHP4.ORC2 and freetds ??
  • Date: Wed, 17 May 2000 01:38:14 -0700



--

On Tue, 16 May 2000 8:18:6 Michel wrote:
>Could anyone give me the compil method for PHP4 and freetds because the
>Makefile differs from php3 and I don't know where to delete -lsybctl --lxx
>to get the compilation working with sybase-ct.
I just did compile php4.0RC2 with freetds-snapshot.tgz, and I didn't erase
anything on /apache_1.3.12/src/modules/php4/libphp4.a
and it worked fine till now...I can do queries and insert

cheers,
sam


Get your FREE Email at http://mailcity.lycos.com
Get your PERSONALIZED START PAGE at http://my.lycos.com

From hook AT aktrad.ru Wed May 17 05:13:55 2000
Return-Path: <hook AT aktrad.ru>
Received: from ns1.aktrad.ru ([195.218.140.4]) by franklin.oit.unc.edu with
SMTP (Lyris Server version 3.0); Wed, 17 May 2000 05:13:50 -0400
Received: from sloth (sloth.aktrad.ru [195.218.140.13])
by ns1.aktrad.ru (8.9.3/8.9.3) with SMTP id NAA46380
for <freetds AT franklin.oit.unc.edu>; Wed, 17 May 2000 13:14:13 +0400
(MSD)
Message-ID: <15a001bfbfe0$48438fb0$0d8cdac3 AT aktrad.ru>
From: "Gene Sokolov" <hook AT aktrad.ru>
To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
References:
<LYR106784-55554-2000.05.16-03.55.12--moshe#i-impact.com AT franklin.oit.unc.edu>

<LYR96738-55560-2000.05.16-06.02.21--geoff#farmline.com AT franklin.oit.unc.edu>
<LYR102309-55561-2000.05.16-06.13.33--hook#aktrad.ru AT franklin.oit.unc.edu>
Subject: Problem with long queries (longer than 2 tds->out_buf)
Date: Wed, 17 May 2000 13:14:19 +0400
MIME-Version: 1.0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600


Seems like freetds is having a problem with long queries (freetds snapshot
from 2000-04-24, compiled for TDS 4.2 on FreeBSD 4.0, connection to MSSQL
7.0). If the query is bigger than twice the size of tds->out_buf - 16 bytes,
retrieving results of the query always returns FAILED.
For example, the default size of tds->out_buf is 512 bytes. Queries
under 1008 (512*2-16) bytes are fine, anything larger than that causes an
error. If the buffer size is increased, the limit also increases - if
tds->out_buf size is set to 1024, all queries up to 1024*2-16=2032 bytes are
executed, 2033 bytes and longer - fail.
Is this a known bug?

Gene Sokolov.







Archive powered by MHonArc 2.6.24.

Top of Page