[freetds] MacOS X odbc driver port

Jens Blomster blomster at algonet.se
Fri Mar 18 08:01:07 EST 2005


Hello list (which I just subscribed to):

I made a port of the FreeTDS odbc driver to MacOS X. Reason was we had 
difficulties to control certain behaviors of available commercial 
alternatives on OS X. Our needs had to do with timeouts.

If somebody wants this port, it's avaliable on 
www.algonet.se/~blomster/tools.html. This is a page dedicated to 
programming tools for the mac/win "4D" database. However there is 
nothing adapted to 4D environment in the FreeTDS port, don't be 
frightened by the page title. Full source is also there, this is LGPL, I 
won't forget that.

The driver has got a MacOS-style native binary installer. The source is 
packaged as an Apple XCode project. IT HAS NOT YET BEEN EXTENSIVELY TESTED.

I made a few changes, besides usual fighting with .h files, and 
unexplained trouble with "tdsstrings":
- macos standard paths to .ini files are searched
- changed handling of connect timeout: connect timeout is initiated to
"-1" meaning "undefined". If, when connecting, this is unchanged by any 
previous "set xxx option", then the config file setting is respected. It 
is not in the standard FreeTDS version. Maybe an improvement?

Thank you for keeping FreeTDS opensourced.

Best regards,
Jens Blomster
Uppsala, Sweden



More information about the FreeTDS mailing list