Skip to Content.
Sympa Menu

freetds - TDSCOLINFO changes - state

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: TDSCOLINFO changes - state
  • Date: 08 Nov 2002 20:13:35 +0100


Il gio, 2002-11-07 alle 22:50, Frediano Ziglio ha scritto:
> This huge structure contain now tree type of fields:
> - column related some specific (operator, collation), other generic
> (type, etc)
> - data related (textvalue, cur_size)
> - client related (like varaddr)
>
> My intention is to remove data related (store these info in row buffer),
> this complicate free (free row is not so easy, you have to scan
> TDSCOLINFO array). Also replace the null bit with cur_size (use a
> special value like -1 to indicate null).
>
> Other problem is client related fields. All these fields are used to
> store only client information (they are not used in libtds). Also bind
> information are connection (or statement in odbc) related, when result
> are discarded bind information are also discarded. So perhaps is best to
> store these info in other place...
>

Partially done in CVS. I moved all blob fields (column_textvalue,
column_timestamp and column_textptr) to a new structure TDSBLOBINFO
saved into row. This should also fix row caching in dblib.

freddy77






  • TDSCOLINFO changes - state, Frediano Ziglio, 11/08/2002

Archive powered by MHonArc 2.6.24.

Top of Page