freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Brandon M. Reynolds" <breynolds AT comtime.com>
- To: 'TDS Development Group' <freetds AT franklin.oit.unc.edu>
- Subject: Re: TDS 7.0 and queries over 512 bytes
- Date: Thu, 12 Oct 2000 12:13:06 -0400
It's scary that BUFSIZ is used that way inside the code. But anyway
I tried that and it didn't work. So I changed the code that I felt
was responsible and it started working. I don't know what this extra
'if' statement is for...
--- freetds/src/tds/write.c Mon Mar 13 07:56:48 2000
+++ freetds.good/src/tds/write.c Thu Oct 12 12:10:01 2000
@@ -75,7 +75,7 @@
int tds_put_byte(TDSSOCKET *tds, unsigned char c)
{
/* FIX ME -- add packet size support */
- if (tds->out_pos>=512) {
+ if (tds->out_pos>=8192) {
tds_write_packet(tds,0x0);
tds_init_write_buf(tds);
}
Brandon M. Reynolds Ph: (330) 644-3059
Systems Engineer Fax: (330) 644-8110
Commercial Timesharing Inc. Email: bmr AT comtime.com
> -----Original Message-----
> From: Roger Burton West [mailto:roger AT firedrake.org]
> Sent: Thursday, October 12, 2000 11:46 AM
> To: TDS Development Group
> Subject: [freetds] Re: TDS 7.0 and queries over 512 bytes
>
>
>
> #define BUFSIZ 2048
>
> then recompile freetds from scratch (make clean; make; make install).
>
> This is something of a brute force solution, but it worked for me.
-
TDS 7.0 and queries over 512 bytes,
Brandon M. Reynolds, 10/12/2000
- <Possible follow-up(s)>
- Re: TDS 7.0 and queries over 512 bytes, Geoff Winkless, 10/12/2000
- Re: TDS 7.0 and queries over 512 bytes, Roger Burton West, 10/12/2000
- Re: TDS 7.0 and queries over 512 bytes, Brandon M. Reynolds, 10/12/2000
- Re: TDS 7.0 and queries over 512 bytes, Roger Burton West, 10/12/2000
- Re: TDS 7.0 and queries over 512 bytes, Brandon M. Reynolds, 10/12/2000
- Re: TDS 7.0 and queries over 512 bytes, Brian Bruns, 10/12/2000
- Re: TDS 7.0 and queries over 512 bytes, Brian Bruns, 10/12/2000
- Re: TDS 7.0 and queries over 512 bytes, Brandon M. Reynolds, 10/12/2000
- Re: TDS 7.0 and queries over 512 bytes, Brian Bruns, 10/12/2000
Archive powered by MHonArc 2.6.24.