cvs: pear /DB_QueryTool/QueryTool Query.php

From: Date: Sat, 12 Jun 2004 13:19:01 +0000
Subject: cvs: pear /DB_QueryTool/QueryTool Query.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-20561@lists.php.net to get a copy of this message
quipo Sat Jun 12 09:19:01 2004 EDT Modified files: /pear/DB_QueryTool/QueryTool Query.php Log: unset non-specific PEAR::DB options or it will complain (bug #1614) http://cvs.php.net/diff.php/pear/DB_QueryTool/QueryTool/Query.php?r1=1.48&r2=1.49&ty=u Index: pear/DB_QueryTool/QueryTool/Query.php diff -u pear/DB_QueryTool/QueryTool/Query.php:1.48 pear/DB_QueryTool/QueryTool/Query.php:1.49 --- pear/DB_QueryTool/QueryTool/Query.php:1.48 Fri Jun 11 11:46:51 2004 +++ pear/DB_QueryTool/QueryTool/Query.php Sat Jun 12 09:19:00 2004 @@ -15,7 +15,7 @@ // | Author: Wolfram Kriesing, Paolo Panto, vision:produktion <wk@visionp.de> // +----------------------------------------------------------------------+ // -// $Id: Query.php,v 1.48 2004/06/11 15:46:51 quipo Exp $ +// $Id: Query.php,v 1.49 2004/06/12 13:19:00 quipo Exp $ // require_once 'PEAR.php'; @@ -243,15 +243,19 @@ $autoConnect = true; } else { $autoConnect = $options['autoConnect']; + unset($options['autoConnect']); } if (isset($options['errorCallback'])) { $this->setErrorCallback($options['errorCallback']); + unset($options['errorCallback']); } if (isset($options['errorSetCallback'])) { $this->setErrorSetCallback($options['errorSetCallback']); + unset($options['errorSetCallback']); } if (isset($options['errorLogCallback'])) { $this->setErrorLogCallback($options['errorLogCallback']); + unset($options['errorLogCallback']); } if ($autoConnect && $dsn) { $this->connect($dsn, $options); @@ -655,7 +659,6 @@ if (!sizeof($data)) { return false; } - // the inserted ids which will be returned or if no primaryCol is given // we return true by default $retIds = $this->primaryCol ? array() : true;

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