Skip to Content.
Sympa Menu

freetds - Re: TDSCOLINFO

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Mark J. Lilback" <mark AT lilback.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: TDSCOLINFO
  • Date: Fri, 30 Aug 2002 06:15:41 -0400


At 5:20 AM -0400 8/30/2002, Brian Bruns wrote:
> column_textsize/cur_row_size
just use one of them (best to use column_cur_size).

cur_row_size was added after the fact, not sure by whom (mark?), to
support dbdatlen(). The name refers to the fact that it is the size of
the column in the current row. I agree that they could be combined. I
generally like to avoid overloading the meaning of column, but I think
this is clear enough.

Yeah, I added it.

The issue is that column_textsize is the size of the column, not on a per row basis. cur_row_size holds the length of that column in the current row. I don't see how you can support dbdatlen() with column_textsize. Because of the issues with conversions in 0.53, my app accesses the raw data.

(I think a static was being used previously, but I added cur_row_size to be thread safe.)

Now that Sybase is releasing native OpenClient support on Mac OS X, I'm rewriting my code to use ctlib with OpenClient for Sybase support. Then I'll work on porting it to use freetds with TDS7 to support MS SQL Server. At that point, I should become active again on updating freetds code.

--
__________________________________________________________________________
"They that can give up essential liberty
Mark J. Lilback to obtain a little temporary safety
<mark AT lilback.com> deserve neither liberty or safety."
http://www.lilback.com/ -- Benjamin Franklin



  • TDSCOLINFO, ZIGLIO Frediano, 08/30/2002
    • <Possible follow-up(s)>
    • Re: TDSCOLINFO, Brian Bruns, 08/30/2002
    • Re: TDSCOLINFO, Mark J. Lilback, 08/30/2002

Archive powered by MHonArc 2.6.24.

Top of Page