PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Avis, Ed" <avised at kbcfp dot com>
Subject: DBD::Sybase patch for cleaner test failures
Date: Jun 28 2005 9:06AM

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