Currently the named pipe path is hard-coded to
/sql/query (even for Sybase). It should be
configurable, and Sybase should default to
/sybase/query (which is actually available in
There are two implementations I've considered:
Multiplex the "namedPipe" parameter to accept "true"
(which defaults to the correct path for the given
server: SQL Server or Sybase), "false" (the correct
path would be defaulted, but not used) or the path of
the named pipe starting with "/" or "\" (which would
also imply "namedPipe=true").
Provide a separate "namedPipePath" parameter just
for setting the path, which would set "namedPipe=true"
I like Item 1 because it prevents Yet Another
Configuration Parameter from being introduced to the
I like Item 2 because it doesn't overload the
"namedPipe" parameter to be Boolean/String.
Regardless of the external configuration, internally
both "namedPipe" and "namedPipePath" parameters will be
used to differentiate the two values.
Note that I do NOT like the way the aveConnect driver
sets the path by providing the path after the hostname,
replacing the database name.