Memcached::cas no longer working in 1.0.17
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libmemcached |
New
|
Undecided
|
Unassigned |
Bug Description
Memcached::CAS is hardly working in 1.0.14.
By "hardly" i mean you have to set some value to the key you are using CAS on, like so:
=======
(libmemcached 1.0.14, pecl-memcached 2.2.0, php 5.5.20, memcached 1.4.17):
WORKING CODE if $varName not set in memcache previously
$getResult = $objMc-
//Begin workaround
if (!$variableChec
}else{
}
=======
(libmemcached 1.0.14, pecl-memcached 2.2.0, php 5.5.20, memcached 1.4.17):
NOT WORKING CODE if $varName not set in memcache previously:
RESULT:
php: libmemcached/
=======
(libmemcached 1.0.17, pecl-memcached 2.2.0, php 5.5.20, memcached 1.4.17):
NOT WORKING (at all) CODE
$getResult = $objMc-
//Begin workaround
if (!$variableChec
}else{
}
RESULT:
php: libmemcached/
So, as of 1.0.17 Memcached::cas is no longer working at all for me.
System:
Gentoo 64bit, so everything compiled from source. Gcc 4.7.3, Kernel : 3.10.41