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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2022 The PHP Group
All rights reserved.
Last updated: Thu Jan 27 00:03:35 2022 UTC