public function execute(array
$params = null
) { /*
* Simple case - no query profiler to manage.
*/
if ($this->_queryId === null
) { return $this->
_execute($params);
} /*
* Do the same thing, but with query profiler
* management before and after the execute.
*/
$prof =
$this->_adapter->
getProfiler();
$qp =
$prof->
getQueryProfile($this->_queryId
);
if ($qp->
hasEnded()) { $this->_queryId =
$prof->
queryClone($qp);
$qp =
$prof->
getQueryProfile($this->_queryId
);
}