Project

General

Profile

Bug #22822 ยป 14632_01.diff

Administrator Admin, 2010-06-06 15:35

View differences:

t3lib/cache/backend/class.t3lib_cache_backend_memcachedbackend.php (working copy)
$chunkNumber = 1;
foreach ($data as $chunk) {
$success &= $this->memcache->set(
$success = $success && $this->memcache->set(
$this->identifierPrefix . $entryIdentifier . '_chunk_' . $chunkNumber,
$chunk,
$this->flags,
......
);
$chunkNumber++;
}
$success &= $this->memcache->set(
$success = $success && $this->memcache->set(
$this->identifierPrefix . $entryIdentifier,
'TYPO3*chunked:' . $chunkNumber,
$this->flags,
......
$this->removeIdentifierFromAllTags($entryIdentifier);
$this->addTagsToTagIndex($tags);
$this->addIdentifierToTags($entryIdentifier, $tags);
} else {
throw new t3lib_cache_Exception(
'Could not set data to memcache server.',
1275830266
);
}
} catch(Exception $exception) {
throw new t3lib_cache_Exception(
    (1-1/1)