Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrobocoder <anthon.pang@gmail.com>2009-10-17 16:56:40 +0400
committerrobocoder <anthon.pang@gmail.com>2009-10-17 16:56:40 +0400
commit20779ae9dd2c6e3cba3385fb75c69f8b23490860 (patch)
tree32daa3d203f1dfdbce8437436ea2145e72b07102 /libs/Zend/Db/Adapter/Oracle.php
parent37ac90de294baa32cf232dd866e19d2323f4246c (diff)
Update to Zend Framework 1.9.4
git-svn-id: http://dev.piwik.org/svn/trunk@1506 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'libs/Zend/Db/Adapter/Oracle.php')
-rw-r--r--libs/Zend/Db/Adapter/Oracle.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/Zend/Db/Adapter/Oracle.php b/libs/Zend/Db/Adapter/Oracle.php
index 09c877d36c..233335825d 100644
--- a/libs/Zend/Db/Adapter/Oracle.php
+++ b/libs/Zend/Db/Adapter/Oracle.php
@@ -17,7 +17,7 @@
* @subpackage Adapter
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Oracle.php 16920 2009-07-21 13:32:28Z ralph $
+ * @version $Id: Oracle.php 18415 2009-09-25 17:46:24Z mikaelkael $
*/
/**
@@ -81,7 +81,7 @@ class Zend_Db_Adapter_Oracle extends Zend_Db_Adapter_Abstract
/**
* @var integer
*/
- protected $_execute_mode = OCI_COMMIT_ON_SUCCESS;
+ protected $_execute_mode = null;
/**
* Default class name for a DB statement.
@@ -119,6 +119,8 @@ class Zend_Db_Adapter_Oracle extends Zend_Db_Adapter_Abstract
throw new Zend_Db_Adapter_Oracle_Exception('The OCI8 extension is required for this adapter but the extension is not loaded');
}
+ $this->_setExecuteMode(OCI_COMMIT_ON_SUCCESS);
+
$connectionFuncName = ($this->_config['persistent'] == true) ? 'oci_pconnect' : 'oci_connect';
$this->_connection = @$connectionFuncName(