(Fixes issue 1868)

This commit is contained in:
qiang.xue
2011-03-14 00:28:38 +00:00
parent 487cc6f600
commit dc99b7cdeb
13 changed files with 26 additions and 63 deletions

View File

@@ -67,11 +67,9 @@ class CDbLogRoute extends CLogRoute
{
parent::init();
$db=$this->getDbConnection();
$db->setActive(true);
if($this->autoCreateLogTable)
{
$db=$this->getDbConnection();
$sql="DELETE FROM {$this->logTableName} WHERE 0=1";
try
{