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:
if($this->_connection->enableProfiling)
Yii::endProfile('system.db.CDbCommand.query('.$this->getText().')','system.db.CDbCommand.query');
exit;
return $result;
the application works, bu if i put the exit into queryAll before the return like this:
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);
}
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
Page 1 of 1
problem with clob
#2
Posted 16 April 2010 - 01:54 AM
You should not modify the sources files. Specially not adding exit calls inside. What are you trying to do?
Share this topic:
Page 1 of 1

Help















