cvs: php-src(PHP_5_1) /ext/pdo/tests pdo_test.inc

From: Date: Sun, 11 Dec 2005 15:29:14 +0000
Subject: cvs: php-src(PHP_5_1) /ext/pdo/tests pdo_test.inc
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-35872@lists.php.net to get a copy of this message
helly Sun Dec 11 15:29:14 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/pdo/tests pdo_test.inc Log: - MFH http://cvs.php.net/diff.php/php-src/ext/pdo/tests/pdo_test.inc?r1=1.9.2.3&r2=1.9.2.4&ty=u Index: php-src/ext/pdo/tests/pdo_test.inc diff -u php-src/ext/pdo/tests/pdo_test.inc:1.9.2.3 php-src/ext/pdo/tests/pdo_test.inc:1.9.2.4 --- php-src/ext/pdo/tests/pdo_test.inc:1.9.2.3 Sat Oct 29 02:58:24 2005 +++ php-src/ext/pdo/tests/pdo_test.inc Sun Dec 11 15:29:14 2005 @@ -35,6 +35,10 @@ $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(

« previous php.cvs (#35872) next »