Skip to Content.
Sympa Menu

freetds - text/image datatypes for TDS 7

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT umcc.ais.org>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: text/image datatypes for TDS 7
  • Date: Mon, 29 Nov 1999 08:10:50 -0500 (EST)



Hi everyone,

I've fixed the text and image datatype handling for TDS 7.0 and its in
CVS.

One little thing I noticed, under TDS 4.2 @@textsize defaults to 4096,
under 7.0 it is 2gig. This crashes sqsh which tries to allocate maxlength
+ 1 (a negative using CS_INT), probably crashes some other stuff as well.
So, if you are using text types under 7.0, I'd recommend doing a 'set
textsize' first. This is BTW dependant on the protocol version,
using 4.2 against a MS SQL 7 server still has textsize at 4096.

Brian





Archive powered by MHonArc 2.6.24.

Top of Page