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