Просмотр исходного кода

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 лет назад
Родитель
Сommit
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);