Merge pull request #2 from vus520/master

修正一处笔误,没有结束符
This commit is contained in:
ThinkPHP
2013-04-11 02:47:46 -07:00

View File

@@ -112,7 +112,7 @@ class Db {
// 删除缓存 // 删除缓存
$this->handler->execute('DELETE FROM `'.$this->options['table'].'` WHERE `cachekey`=\''.$key.'\''); $this->handler->execute('DELETE FROM `'.$this->options['table'].'` WHERE `cachekey`=\''.$key.'\'');
} }
$this->handler->execute('UPDATE '.$this->options['table'].' SET data=\''.serialize($queue).'\' ,expire=0 WHERE `cachekey`=\'__info__\'') $this->handler->execute('UPDATE '.$this->options['table'].' SET data=\''.serialize($queue).'\' ,expire=0 WHERE `cachekey`=\'__info__\'');
xcache_set('__info__', $queue); xcache_set('__info__', $queue);
} }
return true; return true;