Re: DBI->connect aka DBD::Sybase::db::_login fails with "no error string" - patch included

Michael Peppler <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
On Wed, 2005-08-24 at 16:41 -0600, Scott Edwards wrote:
> DBI.pm is returning a literal "no error string" in $DBI::errstr after
> I attempt to connect to a mssql server.  I've provided source
> snippets, dbi trace output, and a patch I've made in an attempt to
> more clearly isolate the problem.  As far as I can guess, I think the
> _login function exists in XS code.  I have no idea why it's passing
> back a failure response, but not providing a helpfull error message
> with it. ("it's broke" is about as usefull.)

Agreed - but what this means is that no error string was recovered from
the underlying CT-Lib code, which means that the error callback was
never called.

My guess is this is a freetds bug - I would take it up on the freetds
mailing list.

Michael
-- 
Michael Peppler  -  [email protected]  -  http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html
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.