php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57422 The values stop being stored
Submitted: 2006-12-08 08:48 UTC Modified: 2007-02-13 17:55 UTC
From: grikdotnet at aim dot com Assigned:
Status: Not a bug Package: memcache (PECL)
PHP Version: 5.2.0 RC4 OS: FC 3
Private report: No CVE-ID: None
 [2006-12-08 08:48 UTC] grikdotnet at aim dot com
Description:
------------
For some reason an attempt to save anything after storing a non-empty array with enough long key will fail.

After the failure, any operation with the value that failed to be stored will fail till I restart the memcache daemon.

Reproduce code:
---------------
$memcache_obj = new Memcache;
$memcache_obj->connect('10.1.1.10', 11211);

$a = $memcache_obj->set('some_not_short_string',array('not_empty_array'));
$a = $memcache_obj->set('a',1);
var_dump($a);


Expected result:
----------------
bool(true)

Actual result:
--------------
bool(false)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-13 17:55 UTC] tony2001 at phpclub dot net
Works just fine.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Nov 28 15:03:14 2021 UTC