From: Marcus Boerger Date: Sun, 11 Dec 2005 15:29:14 +0000 (+0000) Subject: - MFH X-Git-Tag: php-5.1.2RC1~137 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9bb52c750c4a4352cbfb581c43d24864e57a2b48;p=php - MFH --- diff --git a/ext/pdo/tests/pdo_test.inc b/ext/pdo/tests/pdo_test.inc index 3a3040eac5..a023fd89bb 100644 --- a/ext/pdo/tests/pdo_test.inc +++ b/ext/pdo/tests/pdo_test.inc @@ -35,6 +35,10 @@ class PDOTest { $db = new $classname($dsn, $user, $pass, $attr); + if (!$db) { + die("Could not create PDO object (DSN=$dsn, user=$user)\n"); + } + // clean up any crufty test tables we might have left behind // on a previous run static $test_tables = array(