Hi,
i have a problem with clob because php appliclation crashes trying to retrieve a clob value;
I’ m trying to debug the problem but i need some help:
What’s between queryInternal and queryAll functions in CDbCommand?
because if i put an exit; before the return into queryInternal like this:
[i] if($this->_connection->enableProfiling)
Yii::endProfile('system.db.CDbCommand.query('.$this->getText().')','system.db.CDbCommand.query');
exit;
return $result;[/i]
the application works, bu if i put the exit into queryAll before the return like this:
[i] public function queryAll($fetchAssociative=true,$params=array())
{
$obj=$this->queryInternal('fetchAll',$fetchAssociative ? PDO::FETCH_ASSOC : PDO::FETCH_NUM, $params);
exit;
return $this->queryInternal('fetchAll',$fetchAssociative ? PDO::FETCH_ASSOC : PDO::FETCH_NUM, $params);
}[/i]
it crashes.So i think there is some function/s called between the two because queryInternal return an array of array ,no "strange" objects so it has no reason to crash.
Can anyone help me?
Thanks,
Riccardo