Change-Id: I558f655f5259dec1cfc5ebefadea9ca957e2c61a

This commit is contained in:
vus520
2013-04-11 16:41:07 +08:00
parent c01c60521c
commit f790dfbe3a

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;