Skip to Content.
Sympa Menu

freetds - TDSCOLINFO changes (future)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS <freetds AT franklin.oit.unc.edu>
  • Subject: TDSCOLINFO changes (future)
  • Date: 07 Nov 2002 22:50:29 +0100


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...

freddy77





  • TDSCOLINFO changes (future), Frediano Ziglio, 11/07/2002

Archive powered by MHonArc 2.6.24.

Top of Page