freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Ms sql backslash in named instance 2005
- From: Frediano Ziglio <freddy77 AT gmail.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Ms sql backslash in named instance 2005
- Date: Fri, 30 Oct 2009 14:06:16 +0100
2009/10/30 James K. Lowden <jklowden AT freetds.org>:
> Frediano Ziglio wrote:
>> 0.62 understand only "server:port" syntax so
>> it finds "myserver\one" correctly. 0.82 change "myserver\one" to
>> "myserver" with instance "one" so it doesn't find "myserver" section
>> in file. The solution would be to search for server before parsing for
>> instance. This way does not break compatibility.
>
> Good idea!
>
Yes, but I don't like that much my patch... I think that
server\instance and server:port should be symmetric...
0.62
"server\instance" -> look for section "server\instance"
"server:port" -> look for section server with port set to "port"
0.82
"server\instance" -> look for section "server" with instance set to "instance"
"server:port" -> look for section "server" with port set to "port"
my proposed patch
"server\instance" -> look for section "server\instance", if not found
look for section "server" with instance set to "instance"
"server:port" -> look for section "server" with port set to "port"
as you can note is not symmetric... I proposed this way
"server\instance" -> look for section "server\instance", if not found
look for section "server" with instance set to "instance"
"server:port" -> look for section "server:port", if not found look for
section "server" with port set to "port"
freddy77
-
Re: [freetds] Ms sql backslash in named instance 2005 [NC]
, (continued)
- Re: [freetds] Ms sql backslash in named instance 2005 [NC], Cedric ROUVRAIS, 10/23/2009
- Re: [freetds] Ms sql backslash in named instance 2005, Frediano Ziglio, 10/23/2009
-
Re: [freetds] Ms sql backslash in named instance 2005,
apk, 10/23/2009
-
Re: [freetds] Ms sql backslash in named instance 2005,
jklowden, 10/23/2009
-
Re: [freetds] tsql msg error 20009,
Tareq, 10/25/2009
-
Re: [freetds] tsql msg error 20009,
Frediano Ziglio, 10/25/2009
- Re: [freetds] tsql msg error 20009, Tareq, 10/26/2009
-
Re: [freetds] tsql msg error 20009,
Frediano Ziglio, 10/25/2009
- Re: [freetds] tsql msg error 20009, Tareq, 10/25/2009
-
Re: [freetds] Ms sql backslash in named instance 2005,
Frediano Ziglio, 10/26/2009
-
Re: [freetds] Ms sql backslash in named instance 2005,
James K. Lowden, 10/29/2009
-
Re: [freetds] Ms sql backslash in named instance 2005,
Frediano Ziglio, 10/30/2009
- Re: [freetds] Ms sql backslash in named instance 2005, Frediano Ziglio, 10/30/2009
-
Re: [freetds] Ms sql backslash in named instance 2005,
Frediano Ziglio, 10/30/2009
-
Re: [freetds] Ms sql backslash in named instance 2005,
James K. Lowden, 10/29/2009
-
Re: [freetds] tsql msg error 20009,
Tareq, 10/25/2009
-
Re: [freetds] Ms sql backslash in named instance 2005,
jklowden, 10/23/2009
Archive powered by MHonArc 2.6.24.