cvs: pear /MDB common.php
| From: | Lukas Smith | Date: | Thu, 22 Aug 2002 14:04:44 +0000 |
| Subject: | cvs: pear /MDB common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5880@lists.php.net to get a copy of this message | ||
lsmith Thu Aug 22 10:04:44 2002 EDT
Modified files:
/pear/MDB common.php
Log:
removed DB_FETCHMODE_OBJECT from setFetchmode()
Index: pear/MDB/common.php
diff -u pear/MDB/common.php:1.51 pear/MDB/common.php:1.52
--- pear/MDB/common.php:1.51 Thu Aug 22 07:34:13 2002
+++ pear/MDB/common.php Thu Aug 22 10:04:44 2002
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@dybnet.de> |
// +----------------------------------------------------------------------+
//
-// $Id: common.php,v 1.51 2002/08/22 11:34:13 lsmith Exp $
+// $Id: common.php,v 1.52 2002/08/22 14:04:44 lsmith Exp $
require_once 'PEAR.php';
@@ -2488,9 +2488,6 @@
function setFetchMode($fetchmode)
{
switch ($fetchmode) {
- case DB_FETCHMODE_OBJECT:
- return $this->raiseError(DB_ERROR_UNSUPPORTED, '', '',
- 'DB_FETCHMODE_OBJECT is not supported by MDB');
case DB_FETCHMODE_ORDERED:
case DB_FETCHMODE_ASSOC:
$this->fetchmode = $fetchmode;