cvs: pear /MDB2/MDB2/Wrapper peardb.php
| From: | Lukas Smith | Date: | Thu, 09 Sep 2004 19:09:18 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Wrapper peardb.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-23763@lists.php.net to get a copy of this message | ||
lsmith Thu Sep 9 15:09:18 2004 EDT
Modified files:
/pear/MDB2/MDB2/Wrapper peardb.php
Log:
- ensure we are returning a reference
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Wrapper/peardb.php?r1=1.10&r2=1.11&ty=u
Index: pear/MDB2/MDB2/Wrapper/peardb.php
diff -u pear/MDB2/MDB2/Wrapper/peardb.php:1.10 pear/MDB2/MDB2/Wrapper/peardb.php:1.11
--- pear/MDB2/MDB2/Wrapper/peardb.php:1.10 Thu Sep 9 10:11:51 2004
+++ pear/MDB2/MDB2/Wrapper/peardb.php Thu Sep 9 15:09:18 2004
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
//
-// $Id: peardb.php,v 1.10 2004/09/09 14:11:51 lsmith Exp $
+// $Id: peardb.php,v 1.11 2004/09/09 19:09:18 lsmith Exp $
//
/**
@@ -676,7 +676,7 @@
return $this->db_object->manager->dropSequence($seq_name);
}
- function _wrapResource($result)
+ function &_wrapResource($result)
{
if (is_resource($result)) {
$result_class = $this->db_object->getOption('result_buffering')