EDIT: Seems to be a double of this post, written a moth ago.
Hi. Just my curiosity. CDbConnection->setPersistent() code in current implementation is:
public function setPersistent($value)
{
return $this->setAttribute(PDO::ATTR_PERSISTENT,$value);
}
How this comes in conjunction with note in PHP documentation saying:
[s]Either I’m missing something or current implementation of setPresistent is using setAttribute, which is said to be invalid approach.
[/s]