[ freetds-Patches-3450710 ] patch to use host and port to connect in DBD::Sybase 1.14

SourceForge.net <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Patches item #3450710, was opened at 2011-12-04 13:22
Message generated for change (Settings changed) made by mrchulho
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=3450710&group_id=33106

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
>Private: No
Submitted By: mrchulho (mrchulho)
Assigned to: Nobody/Anonymous (nobody)
Summary: patch to use host and port to connect in DBD::Sybase 1.14

Initial Comment:
This patch contains support for DBD::Sybase 1.14 to connect servers using host and port in DSN such as "dbi:Sybase:host=server.some.com;port=1433".

I noticed that DBD::Sybase 1.14 and freetds 0.92.dev.20111130 and 0.91 gives no connection  using host and port. While reading code, I had to pay attention to TDSLOGIN->server_name and server_host_name, and made changes on these files:
apps/tsql.c
ctlib/ct.c
tds/config.c
tds/login.c

The patch file was created from the 0.92.dev.20111130.

Thanks,
C

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=3450710&group_id=33106
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.