cvs: pear /DB/tests/driver 18get.phpt

From: Date: Fri, 21 May 2004 18:32:11 +0000
Subject: cvs: pear /DB/tests/driver 18get.phpt
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-19745@lists.php.net to get a copy of this message
danielc Fri May 21 14:32:11 2004 EDT Modified files: /pear/DB/tests/driver 18get.phpt Log: Fix test for no records (used int where on char col). http://cvs.php.net/diff.php/pear/DB/tests/driver/18get.phpt?r1=1.5&r2=1.6&ty=u Index: pear/DB/tests/driver/18get.phpt diff -u pear/DB/tests/driver/18get.phpt:1.5 pear/DB/tests/driver/18get.phpt:1.6 --- pear/DB/tests/driver/18get.phpt:1.5 Fri Apr 30 22:42:17 2004 +++ pear/DB/tests/driver/18get.phpt Fri May 21 14:32:11 2004 @@ -10,7 +10,7 @@ * DB_Common::getListOf(), DB_Common::getOne(), DB_Common::getRow() * * @package DB - * @version $Id: 18get.phpt,v 1.5 2004/05/01 02:42:17 danielc Exp $ + * @version $Id: 18get.phpt,v 1.6 2004/05/21 18:32:11 danielc Exp $ * @category Database * @author Daniel Convissor <danielc@analysisandsolutions.com> * @internal @@ -23,7 +23,7 @@ --FILE-- <?php -// $Id: 18get.phpt,v 1.5 2004/05/01 02:42:17 danielc Exp $ +// $Id: 18get.phpt,v 1.6 2004/05/21 18:32:11 danielc Exp $ /** * Connect to the database and make the <kbd>phptest</kbd> table. @@ -125,7 +125,7 @@ print_r($ret); print "testing getCol on query with no records:\n"; -$ret =& $dbh->getCol('SELECT * FROM phptest WHERE b > 200'); +$ret =& $dbh->getCol('SELECT * FROM phptest WHERE a > 200'); print_r($ret); print "testing getCol with invalid column id:\n";

« previous php.pear.cvs (#19745) next »