[TYPO3-core] RFC #15721: Bug: Memcache::delete() without timeout param causes loss of memcache server in pool

Christian Kuhn lolli at schwarzbu.ch
Fri Feb 11 23:33:04 CET 2011


Hey,

On 02/05/2011 09:57 PM, Michiel Roos [netcreators] wrote:
> Problem:
> http://www.php.net/manual/en/memcache.delete.php
> 	bool Memcache::delete ( string $key [, int $timeout = 0 ] )
>
> Different versions of memcache handle the missing time differently.
> Prior to 1.4.3 a time wasn't required but 1.4.4+ requires a 0 for a timeout.
>
> Solution:
> Explicitly state a timeout of 0 in code.

+1 on reading and testing (Ernestos script on Ubuntu 10.10, debian 
lenny, debian squeeze). Unit tests are green on squeeze again, thanks!

Committed to:
* trunk rev. 10438
* 4.5 rev. 10439
* 4.4 rev. 10440
* 4.3 rev. 10441

Submitted as issue to FLOW3 with [1]

Regards
Christian

[1] http://forge.typo3.org/issues/12993


More information about the TYPO3-team-core mailing list