Skip to Content.
Sympa Menu

freetds - RE: [freetds] textptr size in blob field

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] textptr size in blob field
  • Date: Thu, 25 Mar 2004 14:49:29 +0100

>
> I am playing with Query Analizer as a server emulator.
> For blobs, it will accept arbitrary lengths for textptr, less
> than 256 of coarse (my tests were with the MS odbc driver and
> oledb provider so far).
> Would you please check the hardcoding in token.cpp, function
> tds_get_data(), by the line
> if (len == 16) { /* Jeff's hack */
> tds_get_n(tds, blob_info->textptr, 16);
>
> and see if you can afford a dynamic size for that?
> I'm not sure if you want to go for the allocation overhead
> though, but some strategy with optimization for len <= 16 might work.
> Thanks,
> MC
>

??? how did you send length for textptr ???
textptr is not the content of text...

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page