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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: grikdotnet at aim dot com
New email:
PHP Version: OS:

 

 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 00:01:30 2024 UTC