Bug #8074 ยป 14632_01.diff

Christian Kuhn, 2010-06-06 15:37

View differences:

t3lib/cache/backend/class.t3lib_cache_backend_memcachedbackend.php (working copy)
237 237
				$chunkNumber = 1;
238 238

  
239 239
				foreach ($data as $chunk) {
240
					$success &= $this->memcache->set(
240
					$success = $success && $this->memcache->set(
241 241
						$this->identifierPrefix . $entryIdentifier . '_chunk_' . $chunkNumber,
242 242
						$chunk,
243 243
						$this->flags,
......
245 245
					);
246 246
					$chunkNumber++;
247 247
				}
248
				$success &= $this->memcache->set(
248
				$success = $success && $this->memcache->set(
249 249
					$this->identifierPrefix . $entryIdentifier,
250 250
					'TYPO3*chunked:' . $chunkNumber,
251 251
					$this->flags,
......
264 264
				$this->removeIdentifierFromAllTags($entryIdentifier);
265 265
				$this->addTagsToTagIndex($tags);
266 266
				$this->addIdentifierToTags($entryIdentifier, $tags);
267
			} else {
268
				throw new t3lib_cache_Exception(
269
					'Could not set data to memcache server.',
270
					1275830266
271
				);
267 272
			}
268 273
		} catch(Exception $exception) {
269 274
			throw new t3lib_cache_Exception(
    (1-1/1)