Discussion:
[freetds] Big changes going on
Frediano Ziglio
2012-10-17 21:49:39 UTC
Permalink
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
Mike Slifcak
2012-10-17 23:26:00 UTC
Permalink
Ciao Frediano.

There is interest again (and time to translate desire to reality) for adding the Kerberos
realm to ODBC configuration.

Is something like the 'server_realm' patch that we did for 0.91 available in a stable
update for ODBC?
Post by Frediano Ziglio
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
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
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
Frediano Ziglio
2012-10-18 19:56:15 UTC
Permalink
Post by Mike Slifcak
Ciao Frediano.
There is interest again (and time to translate desire to reality) for adding the Kerberos
realm to ODBC configuration.
Is something like the 'server_realm' patch that we did for 0.91 available in a stable
update for ODBC?
?? Added to libTDS, you can specify the option in freetds.conf
(currently there is no option specifically for ODBC so you have to use
servername and use libTDS configuration).

Frediano
Post by Mike Slifcak
Post by Frediano Ziglio
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
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
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
_______________________________________________
FreeTDS mailing list
FreeTDS at lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
Continue reading on narkive:
Loading...