瀏覽代碼

ZF-7887
- Removed dead code from Zend_Db_Statement_Oracle

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18635 44c647ce-9c0f-0410-b52a-842ac1e357ba

ralph 16 年之前
父節點
當前提交
b19ccf1602
共有 1 個文件被更改,包括 1 次插入8 次删除
  1. 1 8
      library/Zend/Db/Statement/Oracle.php

+ 1 - 8
library/Zend/Db/Statement/Oracle.php

@@ -229,18 +229,11 @@ class Zend_Db_Statement_Oracle extends Zend_Db_Statement
     public function _execute(array $params = null)
     {
         $connection = $this->_adapter->getConnection();
+
         if (!$this->_stmt) {
             return false;
         }
 
-        if (! $this->_stmt) {
-            /**
-             * @see Zend_Db_Adapter_Oracle_Exception
-             */
-            require_once 'Zend/Db/Statement/Oracle/Exception.php';
-            throw new Zend_Db_Statement_Oracle_Exception(oci_error($connection));
-        }
-
         if ($params !== null) {
             if (!is_array($params)) {
                 $params = array($params);