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

From: Date: Sun, 11 Dec 2005 16:57:47 +0000
Subject: Re: cvs: php-src(PHP_5_1) /ext/pdo/tests pdo_test.inc
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-35876@lists.php.net to get a copy of this message
Don't we have exceptions thrown here in case of failure!? On 12/11/05, Marcus Boerger <helly@php.net> wrote: > 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 > >

« previous php.cvs (#35876) next »