Browse Source

fixed dbcache multiget

tags/2.0.0-beta
Alexander Makarov 12 years ago
parent
commit
b0bf8f7406
  1. 2
      framework/caching/DbCache.php

2
framework/caching/DbCache.php

@ -124,7 +124,7 @@ class DbCache extends Cache
$query = new Query;
$query->select(array('id', 'data'))
->from($this->cacheTable)
->where(array('id' => $keys))
->where(array('in', 'id', (array)$keys))
->andWhere('([[expire]] = 0 OR [[expire]] > ' . time() . ')');
if ($this->db->enableQueryCache) {

Loading…
Cancel
Save