[freetds] long query fails with [unixODBC][FreeTDS][SQL Server]Read from the server failed

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Wed Aug 6 07:28:04 EDT 2008


> 
> Sorry for the earlier posting. Afterwards, I noticed that I had set
> PACKETSIZE = 8192 in my ODBC configuration. When I removed that line,
> the problem goes away.
> 

I wrote a patch for CVS HEAD, it restrict packet size if server decide so
http://freetds.cvs.sourceforge.net/freetds/freetds/src/tds/mem.c?r1=1.176&r2=1.177&sortby=
date
http://freetds.cvs.sourceforge.net/freetds/freetds/src/tds/token.c?r1=1.349&r2=1.350&sortb
y=date

minor changes (values checks)
http://freetds.cvs.sourceforge.net/freetds/freetds/src/tds/login.c?r1=1.174&r2=1.175&sortb
y=date
http://freetds.cvs.sourceforge.net/freetds/freetds/src/tds/config.c?r1=1.133&r2=1.134&sort
by=date

freddy77
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3129 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20080806/6931a04d/attachment.bin 


More information about the FreeTDS mailing list