cvs: pear /MDB2/MDB2/Driver oci8.php
| From: | Lukas Smith | Date: | Mon, 20 Mar 2006 12:57:21 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver oci8.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-39205@lists.php.net to get a copy of this message | ||
lsmith Mon Mar 20 12:57:21 2006 UTC
Modified files:
/pear/MDB2/MDB2/Driver oci8.php
Log:
- fixed infinite recursion in _doConnect()
http://cvs.php.net/viewcvs.cgi/pear/MDB2/MDB2/Driver/oci8.php?r1=1.124&r2=1.125&diff_format=u
Index: pear/MDB2/MDB2/Driver/oci8.php
diff -u pear/MDB2/MDB2/Driver/oci8.php:1.124 pear/MDB2/MDB2/Driver/oci8.php:1.125
--- pear/MDB2/MDB2/Driver/oci8.php:1.124 Fri Mar 17 08:47:21 2006
+++ pear/MDB2/MDB2/Driver/oci8.php Mon Mar 20 12:57:21 2006
@@ -43,7 +43,7 @@
// | Author: Lukas Smith <smith@pooteeweet.org> |
// +----------------------------------------------------------------------+
-// $Id: oci8.php,v 1.124 2006/03/17 08:47:21 lsmith Exp $
+// $Id: oci8.php,v 1.125 2006/03/20 12:57:21 lsmith Exp $
/**
* MDB2 OCI8 driver
@@ -291,14 +291,14 @@
}
$query = "ALTER SESSION SET NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'";
- $err = $this->_doQuery($query, true);
+ $err = $this->_doQuery($query, true, $connection);
if (PEAR::isError($err)) {
$this->disconnect(false);
return $err;
}
$query = "ALTER SESSION SET NLS_NUMERIC_CHARACTERS='. '";
- $err = $this->_doQuery($query, true);
+ $err = $this->_doQuery($query, true, $connection);
if (PEAR::isError($err)) {
$this->disconnect(false);
return $err;