From: <var...@us...> - 2009-09-10 14:54:45
|
Revision: 7107 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7107&view=rev Author: vargenau Date: 2009-09-10 14:54:37 +0000 (Thu, 10 Sep 2009) Log Message: ----------- Avoid warning Modified Paths: -------------- trunk/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php trunk/lib/WikiDB/adodb/drivers/adodb-oracle.inc.php Modified: trunk/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php =================================================================== --- trunk/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php 2009-09-10 14:47:09 UTC (rev 7106) +++ trunk/lib/WikiDB/adodb/drivers/adodb-oci8.inc.php 2009-09-10 14:54:37 UTC (rev 7107) @@ -695,7 +695,7 @@ } else if ($type == OCI_B_BLOB){ //we have to create a new Descriptor here $_blob = OCINewDescriptor($this->_connectionID, OCI_D_LOB); - $rez = OCIBindByName($stmt[1], ":".$name, &$_blob, -1, OCI_B_BLOB); + $rez = OCIBindByName($stmt[1], ":".$name, $_blob, -1, OCI_B_BLOB); $rez = $_blob; } else { if ($type !== false) $rez = OCIBindByName($stmt[1],":".$name,$var,$size,$type); Modified: trunk/lib/WikiDB/adodb/drivers/adodb-oracle.inc.php =================================================================== --- trunk/lib/WikiDB/adodb/drivers/adodb-oracle.inc.php 2009-09-10 14:47:09 UTC (rev 7106) +++ trunk/lib/WikiDB/adodb/drivers/adodb-oracle.inc.php 2009-09-10 14:54:37 UTC (rev 7107) @@ -244,11 +244,10 @@ } function _fetch($ignore_fields=false) { -// should remove call by reference, but ora_fetch_into requires it in 4.0.3pl1 if ($this->fetchMode & ADODB_FETCH_ASSOC) - return @ora_fetch_into($this->_queryID,&$this->fields,ORA_FETCHINTO_NULLS|ORA_FETCHINTO_ASSOC); + return @ora_fetch_into($this->_queryID,$this->fields,ORA_FETCHINTO_NULLS|ORA_FETCHINTO_ASSOC); else - return @ora_fetch_into($this->_queryID,&$this->fields,ORA_FETCHINTO_NULLS); + return @ora_fetch_into($this->_queryID,$this->fields,ORA_FETCHINTO_NULLS); } /* close() only needs to be called if you are worried about using too much memory while your script @@ -295,4 +294,4 @@ } } } -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |