Menu

#133 patch to use host and port to connect in DBD::Sybase 1.14

open
nobody
None
5
2015-12-23
2011-12-04
mrchulho
No

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

Discussion

  • Frediano Ziglio

    Frediano Ziglio - 2015-12-23

    Fixed with a different patch.

    I cannot close the ticket at the moment :(

     

Log in to post a comment.