freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Bug #1759652 and resolution
- Date: Tue, 7 Aug 2007 15:42:58 +0200
....
>
>
>
> the questions are:
> - is it correct?
> - should we call tds_read_conf_file even if these strange syntaxes are
> used?
> - if is correct to call tds_read_conf_file after
> parse_server_name_for_port which specifications should take
> precedence.
> For instance if we specify foo:1234 and in section "foo" of
> freetds.conf
> we have "port = 5678" which port should we use.
> I think all these cases should be documented in our userguide.
>
> Also I start thinking that perhaps name resolution should be done in
> login.c or in net.c and not in config.c so to avoid double
> resolutions.
>
Well... I forgot to express my opinions...
I never saw "server\instance" or "server:port" as freetds.conf
servername so parse_server_name_for_port should be called before
tds_read_conf_file. Is also useful to pass parsed servername to
tds_read_conf_file to read additional infos (tds version, charset and so
on). tds_read_conf_file by itself try to resolve name from servername to
I would also remove name resolution from parse_server_name_for_port.
freddy77
-
[freetds] Bug #1759652 and resolution,
ZIGLIO, Frediano, VF-IT, 08/07/2007
-
Re: [freetds] Bug #1759652 and resolution,
ZIGLIO, Frediano, VF-IT, 08/07/2007
- Re: [freetds] Bug #1759652 and resolution, ZIGLIO, Frediano, VF-IT, 08/07/2007
-
Re: [freetds] Bug #1759652 and resolution,
ZIGLIO, Frediano, VF-IT, 08/07/2007
Archive powered by MHonArc 2.6.24.