cvs: pear /MDB pear_wrapper.php
| From: | Lukas Smith | Date: | Mon, 12 Aug 2002 17:33:24 +0000 |
| Subject: | cvs: pear /MDB pear_wrapper.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5710@lists.php.net to get a copy of this message | ||
lsmith Mon Aug 12 13:33:24 2002 EDT
Modified files:
/pear/MDB pear_wrapper.php
Log:
fixed a bug in fetchInto due to changes to MDB's native version of fetchInto
Index: pear/MDB/pear_wrapper.php
diff -u pear/MDB/pear_wrapper.php:1.18 pear/MDB/pear_wrapper.php:1.19
--- pear/MDB/pear_wrapper.php:1.18 Mon Aug 12 08:37:36 2002
+++ pear/MDB/pear_wrapper.php Mon Aug 12 13:33:24 2002
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@dybnet.de> |
// +----------------------------------------------------------------------+
//
-// $Id: pear_wrapper.php,v 1.18 2002/08/12 12:37:36 lsmith Exp $
+// $Id: pear_wrapper.php,v 1.19 2002/08/12 17:33:24 lsmith Exp $
//
require_once (dirname(__FILE__).'/MDB.php');
@@ -150,6 +150,9 @@
{
$arr = $this->dbh->fetchInto($this->result, $fetchmode, $rownum);
if(MDB::isError($arr)) {
+ return $arr;
+ }
+ if($arr === NULL) {
return $arr;
}
return (DB_OK);