summaryrefslogtreecommitdiffstats
path: root/3rdparty/MDB2/Driver
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/MDB2/Driver')
-rw-r--r--3rdparty/MDB2/Driver/oci8.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/MDB2/Driver/oci8.php b/3rdparty/MDB2/Driver/oci8.php
index f61896b4ab3..9f4137d610c 100644
--- a/3rdparty/MDB2/Driver/oci8.php
+++ b/3rdparty/MDB2/Driver/oci8.php
@@ -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'));