Pārlūkot izejas kodu

[ZF-3984]connection control not sufficient in case of "Too many open links".

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15598 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 17 gadi atpakaļ
vecāks
revīzija
9714cce79c
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      library/Zend/Db/Adapter/Mysqli.php

+ 2 - 0
library/Zend/Db/Adapter/Mysqli.php

@@ -324,6 +324,8 @@ class Zend_Db_Adapter_Mysqli extends Zend_Db_Adapter_Abstract
         );
 
         if ($_isConnected === false || mysqli_connect_errno()) {
+
+            $this->closeConnection();
             /**
              * @see Zend_Db_Adapter_Mysqli_Exception
              */