string(21) "SET SQL_BIG_SELECTS=1"
string(21) "SET SQL_BIG_SELECTS=1"
464 $bind = $sql->getBind();
463 if (empty($bind)) {
462 if ($sql instanceof Zend_Db_Select) {
461 // is the $sql a Zend_Db_Select object?
459 $this->_connect();
458 // connect to the database if needed
456 public function query($sql, $bind = array())
454 * @return Zend_Db_Statement_Interface
109 parent::_connect();
106 $this->_config['driver_options'][1002] = $initCommand; // 1002 = PDO::MYSQL_ATTR_INIT_COMMAND
105 $initCommand = "SET NAMES '" . $this->_config['charset'] . "'";
104 if (!empty($this->_config['charset'])) {
144 throw new Zend_Db_Adapter_Exception($e->getMessage(), $e->getCode(), $e);
143 require_once 'Zend/Db/Adapter/Exception.php';
141 * @see Zend_Db_Adapter_Exception
139 } catch (PDOException $e) {
APP_PATH//libraries/Zend/Db/Adapter/Pdo/Abstract.php [ 144 ]
Zend_Db_Adapter_Exception [ 1040 ]: SQLSTATE[08004] [1040] Too many connections
Комментариев нет:
Отправить комментарий