On 2008.04.15, Rajesh Nair <[EMAIL PROTECTED]> wrote:
> Trying to isolate the problem area, I tried using jTDS JDBC driver
> (which is the Java implementation of FreeTDS) to connect to the same
> SQL server and it behaved correctly with just one login request with
> correct COLLATION environment variable. Leads me to believe the
> problem is in nsfreetds driver.

Interesting!  That's great news.

> I am new to nsfreetds lib. Can you point me to the function which will
> be called on ns_db gethandle. I would like to delve into the nsfreetds
> sourcecode to fix this issue

In CVS, look at the nsfreetds module.  There's only one source file,
nsfreetds.c.  You want to look at DbOpen, around line 159.

I have a bunch of uncomitted changes/bugfixes in my local copy, that I
haven't checked in as I have no environment to test the changes against. 

I plan on setting up a SQL Server 2005 Developer Edition (which is just
a cheap license for Enterprise Edition for development only) at some
point.  What version of SQL Server are you testing against?

-- 
Dossy Shiobara              | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to