Skip to Content.
Sympa Menu

freetds - [freetds] 0.62 version

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS <freetds AT lists.ibiblio.org>
  • Subject: [freetds] 0.62 version
  • Date: 05 Mar 2003 21:20:21 +0100

James you just speaks about your goals.

These are (some?) mine for 0.62:
1. finish dynamic/rpc support (specially in ODBC)
2. charset improvement
3. zerocopy
4. NativeSQL/GetInfo (ODBC)

4. I already started (you can find some code in 0.61 too, commented but
present)
1. As stated time ago moving some code to libtds and use dynamic one
instead of translating first to language

These are the simpler... moving to difficult ones
I received (a month ago) a FreeTDS fork from Marc with a lot of
improvements: new types for Sybase, some Mac OS X improvements and,
above all a huge improvement for charset handling. Is difficult to
include in main cause fork was done in October...

Also I want to implement zerocopy in tds (I named zerocopy only a week
ago but this change is in my mind since months). The idea is to put/get
data directly from client (I mean from wire to client and from client to
wire) without any temporary buffer (now is wire -> temp row -> temp data
-> client). How? As a C++ programmer I'd use polymorphism, in C
callbacks function. Image a client have to get some data. You register
where you want to store data and how to fill this buffer just passing
two function (write_data and write_lenth) to libtds. Then libtds call
these functions to write data directly to client. libtds can convert
data on the fly using small buffer and calling write_data function.

Some problem born:
- how to save column names in libtds (my suggestion is wire format with
charset associated)
- what happen if type do not exists in libtds (like ctlib varbinary
structure or date structure in odbc)?
- what happen when client buffer is full?
- will possible to stop libtds processing a row and returning (like
single parameters reading) lately?

Comment and suggestion are welcome.

freddy77





Archive powered by MHonArc 2.6.24.

Top of Page