text/image datatypes for TDS 7

Ian Struble iks at callwave.com
Mon Nov 29 15:11:03 EST 1999


Wow!  You are going to town on this stuff Brian.  Thanks!

Ian

----- Original Message -----
From: Brian Bruns <camber at umcc.ais.org>
To: TDS Development Group <freetds at franklin.oit.unc.edu>
Sent: Monday, November 29, 1999 5:10 AM
Subject: [freetds] text/image datatypes for TDS 7


>
> 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
>
>
> ---
> You are currently subscribed to freetds as: iks at callwave.com
> To unsubscribe, forward this message to
$subst('Email.Unsub')
>




More information about the FreeTDS mailing list