cvs: pear /MDB_QueryTool/QueryTool Query.php
| From: | Lorenzo Alberton | Date: | Mon, 21 Feb 2005 17:33:34 +0000 |
| Subject: | cvs: pear /MDB_QueryTool/QueryTool Query.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-29623@lists.php.net to get a copy of this message | ||
quipo Mon Feb 21 12:33:34 2005 EDT
Modified files:
/pear/MDB_QueryTool/QueryTool Query.php
Log:
removed uneeded breaks
http://cvs.php.net/diff.php/pear/MDB_QueryTool/QueryTool/Query.php?r1=1.38&r2=1.39&ty=u
Index: pear/MDB_QueryTool/QueryTool/Query.php
diff -u pear/MDB_QueryTool/QueryTool/Query.php:1.38 pear/MDB_QueryTool/QueryTool/Query.php:1.39
--- pear/MDB_QueryTool/QueryTool/Query.php:1.38 Mon Feb 21 12:31:36 2005
+++ pear/MDB_QueryTool/QueryTool/Query.php Mon Feb 21 12:33:33 2005
@@ -14,7 +14,7 @@
// | Author: Lorenzo Alberton <l.alberton at quipo.it> |
// +----------------------------------------------------------------------+
//
-// $Id: Query.php,v 1.38 2005/02/21 17:31:36 quipo Exp $
+// $Id: Query.php,v 1.39 2005/02/21 17:33:33 quipo Exp $
//
// This is just a port of DB_QueryTool, originally written by
// Wolfram Kriesing and Paolo Panto, vision:produktion <wk@visionp.de>
@@ -1374,13 +1374,9 @@
} else {
switch(gettype($data)) {
case 'array': return $this->_quoteArray($data);
- break;
case 'boolean': return $this->db->getBooleanValue($data);
- break;
case 'double': return $this->db->getFloatValue($data);
- break;
case 'integer': return $this->db->getIntegerValue($data);
- break;
case 'string': //if 'string' or 'unknown', quote as
text
default: return $this->db->getTextValue($data);
}