dix php strict warnings in mdb2 oci8

This commit is contained in:
Jörn Friedrich Dreyer 2012-08-01 22:37:57 +02:00
parent c7be0db853
commit 417bebd9b7
1 changed files with 3 additions and 3 deletions

View File

@ -406,7 +406,7 @@ class MDB2_Driver_oci8 extends MDB2_Driver_Common
if (empty($this->dsn['disable_iso_date'])) {
$query = "ALTER SESSION SET NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'";
$err =& $this->_doQuery($query, true, $connection);
$err = $this->_doQuery($query, true, $connection);
if (PEAR::isError($err)) {
$this->disconnect(false);
return $err;
@ -414,7 +414,7 @@ class MDB2_Driver_oci8 extends MDB2_Driver_Common
}
$query = "ALTER SESSION SET NLS_NUMERIC_CHARACTERS='. '";
$err =& $this->_doQuery($query, true, $connection);
$err = $this->_doQuery($query, true, $connection);
if (PEAR::isError($err)) {
$this->disconnect(false);
return $err;
@ -646,7 +646,7 @@ class MDB2_Driver_oci8 extends MDB2_Driver_Common
* @return result or error object
* @access protected
*/
function &_doQuery($query, $is_manip = false, $connection = null, $database_name = null)
function _doQuery($query, $is_manip = false, $connection = null, $database_name = null)
{
$this->last_query = $query;
$result = $this->debug($query, 'query', array('is_manip' => $is_manip, 'when' => 'pre'));