db-lib: support for new MS SQL 2008 data types - part 3

LacaK <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hi again,
Now I am personally happy with patched db-lib in regards of support new 
DATE - TIME data types.
But there are still missing some parts, which may be interesting to 
somebody else.
I meant dbbind() family of API with corresponding *BIND constants and 
binary structure used to store this types.

How to handle binding of new date, time types ?

- introduce new DBDATETIMEALLBIND (or DBDATETIME2BIND) constant in sybdb.h ?
- introduce new DBDATETIMEALL struct (==TDS_DATETIMEALL struct) in 
sybdb.h  ?
- add support to copy_data_to_host_var() function in dblib.c ?

If you give me direction I can prepare patch ...
(if it is good idea add support for BINDing ?)
Thanks
-Laco.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.