/** * Executes a prepared statement. * * @param array $params OPTIONAL Values to bind to parameter placeholders. * @return bool * @throws Zend_Db_Statement_Exception */ public function _execute(array $params = null) { $specialExecute = false; if ($params) { foreach ($params as $param) { if ($param instanceof Varien_Db_Statement_Parameter) { $specialExecute = true; break; } } } if ($specialExecute) { return $this->_executeWithBinding($params); } else { return parent::_execute($params); } }
/** * Executes a prepared statement. * * @param array $params OPTIONAL Values to bind to parameter placeholders. * @return bool * @throws Zend_Db_Statement_Exception */ public function _execute(array $params = null) { $this->_adapter->incrementExecCounter($this->caller); return parent::_execute($params); }