DBD::Sybase patch for cleaner test failures

"Avis, Ed" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <B6950B05C2FB1A418290414131B118B964C74B@EXLN1-VS1.london.kbcfp.com>
The DBD::Sybase tests fail rather gruesomely if they can't connect to
the database.  This patch adds a bit more error checking to fail more
cleanly in some cases where a database connection couldn't be opened or
a statement prepared.

It's not perfect but at least things will report a sensible error
message rather than dying from uninitialized values.

-- 
Ed Avis <[email protected]>
diff (application/octet-stream, 9.3 KB) - not displayed
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.