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(
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php