git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15598 44c647ce-9c0f-0410-b52a-842ac1e357ba
@@ -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
*/