Details
Description
The array's returned by getMulti() are not correctly keyed or are in some other way broken. When one tries to reference the key via it's name, an "undefined index" error is returned. array_key_exists() also returns false.
This paste has some sample code:
https://friendpaste.com/MJS2O8G5b7kRqslp2pMBo
Both the top and bottom cases should end in bool(true).
avsej mentioned in IRC that these two portions of code should be compared:
https://github.com/couchbase/php-ext-couchbase/blob/master/couchbase.c#L940
https://github.com/php-memcached-dev/php-memcached/blob/master/php_memcached.c#L828
Thanks for digging into this issue.
This paste has some sample code:
https://friendpaste.com/MJS2O8G5b7kRqslp2pMBo
Both the top and bottom cases should end in bool(true).
avsej mentioned in IRC that these two portions of code should be compared:
https://github.com/couchbase/php-ext-couchbase/blob/master/couchbase.c#L940
https://github.com/php-memcached-dev/php-memcached/blob/master/php_memcached.c#L828
Thanks for digging into this issue.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Gerrit Reviews
PCBC-66fixed only for getMulti but not setMulti which suffers from the same bug.