Support Host/Port In DBLIB

Ken Collins <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
So I was playing around with allow users of TinyTDS to use a :host and :port connection option that would remove the last need of our on the freetds.conf file. I toyed around with a patch like this that had poor results. 

https://gist.github.com/913533

I happily found out that setting TDSHOST & TDSPORT from my ruby lib before establishing the connection worked quite well. So, is this the preferred solution?


 - TIA, Ken
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.