]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/framework/Data/Common/Oracle/TOracleCommandBuilder.php
baculum: New Baculum API and Baculum Web
[bacula/bacula] / gui / baculum / framework / Data / Common / Oracle / TOracleCommandBuilder.php
index 26490d54e3c6ce75f19b94887c2063d798a84f0c..9db393789a74e99a8691951810172acbec439090 100644 (file)
@@ -4,10 +4,9 @@
  * TOracleCommandBuilder class file.
  *
  * @author Marcos Nobre <marconobre[at]gmail[dot]com>
- * @link http://www.pradosoft.com/
- * @copyright Copyright &copy; 2005-2013 PradoSoft
- * @license http://www.pradosoft.com/license/
- * @version $Id: TOracleCommandBuilder.php 3245 2013-01-07 20:23:32Z ctrlaltca $
+ * @link https://github.com/pradosoft/prado
+ * @copyright Copyright &copy; 2005-2016 The PRADO Group
+ * @license https://github.com/pradosoft/prado/blob/master/COPYRIGHT
  * @package System.Data.Common
  */
 
@@ -18,7 +17,6 @@ Prado :: using('System.Data.Common.TDbCommandBuilder');
  * for Oracle database.
  *
  * @author Marcos Nobre <marconobre[at]gmail[dot]com>
- * @version $Id: TOracleCommandBuilder.php 3245 2013-01-07 20:23:32Z ctrlaltca $
  * @package System.Data.Common
  * @since 3.1
  */
@@ -134,14 +132,14 @@ class TOracleCommandBuilder extends TDbCommandBuilder {
                                  "             SELECT rownum as {$pradoNUMLIN} {$aliasedFields} FROM ".
                                  " ($sql) {$fieldsALIAS} WHERE rownum <= {$limit} ".
                                  ") WHERE {$pradoNUMLIN} >= {$offset} ";
-               
+
                ************************* */
                $offset=(int)$offset;
                $toReg = $offset + $limit ;
                $fullTableName = $this->getTableInfo()->getTableFullName();
-               if (empty ($sORDERBY)) 
+               if (empty ($sORDERBY))
                        $sORDERBY="ROWNUM";
-                       
+
                $newSql =       " SELECT $fields FROM " .
                                        "(                                      " .
                                        "               SELECT ROW_NUMBER() OVER ( ORDER BY {$sORDERBY} ) -1 as {$pradoNUMLIN} {$aliasedFields} " .