Skip to Content.
Sympa Menu

freetds - [freetds] Big changes going on

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Big changes going on
  • Date: Wed, 17 Oct 2012 22:49:39 +0100

Hi,

It's time to get MARS into main git... well, more or less!

Beside there are still something to merge in order to reduce the code
I think to having a configure option to enable or disable mars so
every people can choose if using MARS or not at all.

Currently missing are
- timeout not handled (only for the session the is currently handling
the connection)
- some errors are misreported (mostly end of file instead of write
error when server close the connecion)
- there are currently a lot of memory copy compared to previous code.
Well.. we are however comparing network speed with memory copy
operation.

The last commit to master is to more tds_version from TDSSOCKET to
TDSCONNECTION. This cause a lot of differences, I used this script to
help me merging code:

for f in $(grep --include \*.[ch] -rl 'IS_TDS[4-9]' . ); do
echo replacing $f
perl -pi.orig -e
's/(IS_TDS[4-9][_0-9A-Z]*|TDS_MAJOR|TDS_MINOR)\(([^\)]*tds[^\)]*)\)/$1($2->conn)/g'
$f
done

As usual there is a mars branch at
https://gitorious.org/~freddy77/freetds/mars-freetds

Regards,
Frediano




Archive powered by MHonArc 2.6.24.

Top of Page