cvs: pear /DB_QueryTool/QueryTool Query.php
| From: | Wolfram Kriesing | Date: | Sun, 09 Feb 2003 20:03:08 +0000 |
| Subject: | cvs: pear /DB_QueryTool/QueryTool Query.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-8782@lists.php.net to get a copy of this message | ||
cain Sun Feb 9 15:03:08 2003 EDT
Modified files:
/pear/DB_QueryTool/QueryTool Query.php
Log:
- remove oracle specific stuff
Index: pear/DB_QueryTool/QueryTool/Query.php
diff -u pear/DB_QueryTool/QueryTool/Query.php:1.6 pear/DB_QueryTool/QueryTool/Query.php:1.7
--- pear/DB_QueryTool/QueryTool/Query.php:1.6 Sun Feb 9 14:54:29 2003
+++ pear/DB_QueryTool/QueryTool/Query.php Sun Feb 9 15:03:08 2003
@@ -15,7 +15,7 @@
// | Author: Wolfram Kriesing, Paolo Panto, vision:produktion <wk@visionp.de>
// +----------------------------------------------------------------------+
//
-// $Id: Query.php,v 1.6 2003/02/09 19:54:29 cain Exp $
+// $Id: Query.php,v 1.7 2003/02/09 20:03:08 cain Exp $
//
require_once 'PEAR.php';
@@ -279,6 +279,7 @@
$queryString = $this->_buildSelectQuery();
// FIXXME, one day this should be unified!!!
+/* this was special for www.visionp.de ... check it before removing
if ($this->_db->phptype=='oci8' ) {
if ($from && $count) {
if (DB::isError( $queryString =
$this->_db->modifyLimitQuery($queryString,$from-1,$count-1))) {
@@ -289,12 +290,12 @@
}
}
} else {
- if ($count) {
- if ( DB::isError( $queryString =
$this->_db->modifyLimitQuery($queryString,$from,$count)) ) {
- $this->_errorSet( 'vp_DB_Common::getAll modifyLimitQuery failed
'.$queryString->getMessage() );
- $this->_errorLog( $queryString->getUserInfo() );
- return false;
- }
+*/
+ if ($count) {
+ if ( DB::isError( $queryString =
$this->_db->modifyLimitQuery($queryString,$from,$count)) ) {
+ $this->_errorSet( 'vp_DB_Common::getAll modifyLimitQuery failed
'.$queryString->getMessage() );
+ $this->_errorLog( $queryString->getUserInfo() );
+ return false;
}
}