cvs: pear /DB DB.php
| From: | Daniel Convissor | Date: | Mon, 07 Feb 2005 16:55:47 +0000 |
| Subject: | cvs: pear /DB DB.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-29183@lists.php.net to get a copy of this message | ||
danielc Mon Feb 7 11:55:47 2005 EDT
Modified files:
/pear/DB DB.php
Log:
* Adjust the numRows() workaround.
http://cvs.php.net/diff.php/pear/DB/DB.php?r1=1.72&r2=1.73&ty=u
Index: pear/DB/DB.php
diff -u pear/DB/DB.php:1.72 pear/DB/DB.php:1.73
--- pear/DB/DB.php:1.72 Fri Feb 4 13:10:42 2005
+++ pear/DB/DB.php Mon Feb 7 11:55:46 2005
@@ -20,7 +20,7 @@
* @author Daniel Convissor <danielc@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: DB.php,v 1.72 2005/02/04 18:10:42 danielc Exp $
+ * @version CVS: $Id: DB.php,v 1.73 2005/02/07 16:55:46 danielc Exp $
* @link http://pear.php.net/package/DB
*/
@@ -1226,7 +1226,7 @@
if ($this->dbh->features['numrows'] === 'emulate'
&& $this->dbh->options['portability'] &
DB_PORTABILITY_NUMROWS)
{
- $res = $this->dbh->query($this->query, $this->parameters);
+ $res = $this->dbh->query($this->query);
if (DB::isError($res)) {
return $res;
}