Re: INT_EXIT error returned for msgno 20009

"James K. Lowden" <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
On Tue, 1 Nov 2011 09:45:55 -0400
"J.A." <[email protected]> wrote:

> How do I build t0001 ?  

http://www.freetds.org/userguide/confirminstall.htm

Instructions for the unit tests are at the bottom of that page.  

> Also the bit you left at the bottom I don't quite follow.  

(Top-posting makes this harder than it has to be.  "that bit at the
bottom" would be clear if quoted verbatim, and easier to answer.)  

I think you mean my invocation of the unit test:

	$ build/src/dblib/unittests/t0001 -S localhost

and the output

	found localhost.FreeTDS for jkl in "../../../PWD"
	About to logon as "jkl"
	About to open "localhost"
	DB-LIBRARY error (dberr 20009 (severity 9): 
		"Unable to connect: Adaptive Server is unavailable 
		 or does not exist"; oserr 61: "Connection refused")

My PWD file has valid information, useful for running the tests.  To
show you what msgno 20009 looks like with an error handler installed, I
invoked the unit test with the -S option, forcing it to use another
machine -- localhost -- that is not running a server.  

--jkl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.