- Timestamp:
- 09/26/13 15:41:49 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/2.5.1-evolucao/phpgwapi/inc/adodb/drivers/adodb-ibase.inc.php
r34 r8222 1 1 <?php 2 2 /* 3 V 4.94 23 Jan 2007 (c) 2000-2007 John Lim (jlim#natsoft.com.my). All rights reserved.3 V5.18 3 Sep 2012 (c) 2000-2012 John Lim (jlim#natsoft.com). All rights reserved. 4 4 Released under both BSD license and Lesser GPL library license. 5 5 Whenever there is any discrepancy between the two licenses, … … 160 160 // there are some compat problems with ADODB_COUNTRECS=false and $this->_logsql currently. 161 161 // it appears that ibase extension cannot support multiple concurrent queryid's 162 function &_Execute($sql,$inputarr=false)162 function _Execute($sql,$inputarr=false) 163 163 { 164 164 global $ADODB_COUNTRECS; … … 167 167 $savecrecs = $ADODB_COUNTRECS; 168 168 $ADODB_COUNTRECS = true; // force countrecs 169 $ret = &ADOConnection::_Execute($sql,$inputarr);169 $ret = ADOConnection::_Execute($sql,$inputarr); 170 170 $ADODB_COUNTRECS = $savecrecs; 171 171 } else { 172 $ret = &ADOConnection::_Execute($sql,$inputarr);172 $ret = ADOConnection::_Execute($sql,$inputarr); 173 173 } 174 174 return $ret; … … 188 188 } 189 189 190 function &MetaIndexes ($table, $primary = FALSE, $owner=false)190 function MetaIndexes ($table, $primary = FALSE, $owner=false) 191 191 { 192 192 // save old fetch mode … … 243 243 244 244 // See http://community.borland.com/article/0,1410,25844,00.html 245 function RowLock($tables,$where,$col )245 function RowLock($tables,$where,$col=false) 246 246 { 247 247 if ($this->autoCommit) $this->BeginTrans(); … … 327 327 if (ADODB_PHPVER >= 0x4050) { // actually 4.0.4 328 328 if ( !isset($iarr[0]) ) $iarr[0] = ''; // PHP5 compat hack 329 $fnarr = &array_merge( array($sql) , $iarr);329 $fnarr = array_merge( array($sql) , $iarr); 330 330 $ret = call_user_func_array($fn,$fnarr); 331 331 } else { … … 349 349 if (ADODB_PHPVER >= 0x4050) { // actually 4.0.4 350 350 if (sizeof($iarr) == 0) $iarr[0] = ''; // PHP5 compat hack 351 $fnarr = &array_merge( array($conn,$sql) , $iarr);351 $fnarr = array_merge( array($conn,$sql) , $iarr); 352 352 $ret = call_user_func_array($fn,$fnarr); 353 353 } else { … … 477 477 //OPN STUFF end 478 478 // returns array of ADOFieldObjects for current table 479 function &MetaColumns($table)479 function MetaColumns($table, $normalize=true) 480 480 { 481 481 global $ADODB_FETCH_MODE; … … 744 744 fetchField() is retrieved. */ 745 745 746 function &FetchField($fieldOffset = -1)746 function FetchField($fieldOffset = -1) 747 747 { 748 748 $fld = new ADOFieldObject; … … 823 823 $this->fields = $f; 824 824 if ($this->fetchMode == ADODB_FETCH_ASSOC) { 825 $this->fields = &$this->GetRowAssoc(ADODB_ASSOC_CASE);825 $this->fields = $this->GetRowAssoc(ADODB_ASSOC_CASE); 826 826 } else if ($this->fetchMode == ADODB_FETCH_BOTH) { 827 $this->fields = &array_merge($this->fields,$this->GetRowAssoc(ADODB_ASSOC_CASE));827 $this->fields = array_merge($this->fields,$this->GetRowAssoc(ADODB_ASSOC_CASE)); 828 828 } 829 829 return true;
Note: See TracChangeset
for help on using the changeset viewer.