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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
32 - 10 = ?
Subscribe to this entry?

 
 [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: Thu Apr 18 04:01:27 2024 UTC