cvs: pear /MDB_QueryTool package.xml /MDB_QueryTool/QueryTool Query.php

From: Date: Mon, 21 Feb 2005 17:31:39 +0000
Subject: cvs: pear /MDB_QueryTool package.xml /MDB_QueryTool/QueryTool Query.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-29624@lists.php.net to get a copy of this message
quipo Mon Feb 21 12:31:39 2005 EDT Modified files: /pear/MDB_QueryTool/QueryTool Query.php /pear/MDB_QueryTool package.xml Log: fixed bug #3518, Error in _quote when you use raw option = true http://cvs.php.net/diff.php/pear/MDB_QueryTool/QueryTool/Query.php?r1=1.37&r2=1.38&ty=u Index: pear/MDB_QueryTool/QueryTool/Query.php diff -u pear/MDB_QueryTool/QueryTool/Query.php:1.37 pear/MDB_QueryTool/QueryTool/Query.php:1.38 --- pear/MDB_QueryTool/QueryTool/Query.php:1.37 Thu Jan 27 17:21:33 2005 +++ pear/MDB_QueryTool/QueryTool/Query.php Mon Feb 21 12:31:36 2005 @@ -1,21 +1,20 @@ <?php // +----------------------------------------------------------------------+ -// | PHP Version 4 | +// | PHP versions 4 and 5 | // +----------------------------------------------------------------------+ -// | Copyright (c) 1997-2005 The PHP Group | +// | Copyright (c) 2004-2005 Lorenzo Alberton | // +----------------------------------------------------------------------+ -// | This source file is subject to version 2.02 of the PHP license, | -// | that is bundled with this package in the file LICENSE, and is | -// | available at through the world-wide-web at | -// | http://www.php.net/license/2_02.txt. | +// | This source file is subject to version 3.0 of the PHP license, | +// | that is available through the world-wide-web at the following URI: | +// | http://www.php.net/license/3_0.txt. | // | If you did not receive a copy of the PHP license and are unable to | -// | obtain it through the world-wide-web, please send a note to | -// | license@php.net so we can mail you a copy immediately. | +// | obtain it through the web, please send a note to license@php.net | +// | so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // | Author: Lorenzo Alberton <l.alberton at quipo.it> | // +----------------------------------------------------------------------+ // -// $Id: Query.php,v 1.37 2005/01/27 22:21:33 quipo Exp $ +// $Id: Query.php,v 1.38 2005/02/21 17:31:36 quipo Exp $ // // This is just a port of DB_QueryTool, originally written by // Wolfram Kriesing and Paolo Panto, vision:produktion <wk@visionp.de> @@ -1370,7 +1369,9 @@ */ function _quote($data) { - if (!$this->getOption('raw')) { + if ($this->getOption('raw')) { + return $data; + } else { switch(gettype($data)) { case 'array': return $this->_quoteArray($data); break; http://cvs.php.net/diff.php/pear/MDB_QueryTool/package.xml?r1=1.27&r2=1.28&ty=u Index: pear/MDB_QueryTool/package.xml diff -u pear/MDB_QueryTool/package.xml:1.27 pear/MDB_QueryTool/package.xml:1.28 --- pear/MDB_QueryTool/package.xml:1.27 Thu Jan 27 17:21:34 2005 +++ pear/MDB_QueryTool/package.xml Mon Feb 21 12:31:39 2005 @@ -21,12 +21,13 @@ </maintainers> <release> <version>0.11.2</version> - <date>2005-01-27</date> + <date>2005-02-21</date> <license>PHP</license> <state>stable</state> <notes> - fixed bug #3290, getCount() method returns zero when using an offset (patch by kubo at isite dot co dot jp) + - fixed bug #3518, Error in _quote when you use raw option = true </notes> <filelist> <dir name="/" baseinstalldir="MDB"> @@ -72,12 +73,13 @@ <changelog> <release> <version>0.11.2</version> - <date>2005-01-27</date> + <date>2005-02-21</date> <license>PHP</license> <state>stable</state> <notes> - fixed bug #3290, getCount() method returns zero when using an offset (patch by kubo at isite dot co dot jp) + - fixed bug #3518, Error in _quote when you use raw option = true </notes> </release> <release>

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