cvs: pecl /memcache memcache.c

From: Date: Tue, 03 Oct 2006 10:14:35 +0000
Subject: cvs: pecl /memcache memcache.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-6449@lists.php.net to get a copy of this message
tony2001 Tue Oct 3 10:14:35 2006 UTC Modified files: /pecl/memcache memcache.c Log: get() should look for data on other servers only when allow_failover is On, similar to set() http://cvs.php.net/viewvc.cgi/pecl/memcache/memcache.c?r1=1.60&r2=1.61&diff_format=u Index: pecl/memcache/memcache.c diff -u pecl/memcache/memcache.c:1.60 pecl/memcache/memcache.c:1.61 --- pecl/memcache/memcache.c:1.60 Tue Oct 3 10:09:27 2006 +++ pecl/memcache/memcache.c Tue Oct 3 10:14:35 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: memcache.c,v 1.60 2006/10/03 10:09:27 tony2001 Exp $ */ +/* $Id: memcache.c,v 1.61 2006/10/03 10:14:35 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -284,7 +284,7 @@ php_info_print_table_start(); php_info_print_table_header(2, "memcache support", "enabled"); php_info_print_table_row(2, "Active persistent connections", buf); - php_info_print_table_row(2, "Revision", "$Revision: 1.60 $"); + php_info_print_table_row(2, "Revision", "$Revision: 1.61 $"); php_info_print_table_end(); DISPLAY_INI_ENTRIES(); @@ -1092,7 +1092,7 @@ smart_str_free(&(pool->requests[j]->outbuf)); } - } while (result_status < 0 && i++ < MEMCACHE_G(max_failover_attempts)); + } while (result_status < 0 && MEMCACHE_G(allow_failover) && i++ < MEMCACHE_G(max_failover_attempts)); return result_status; }

« previous php.pecl.cvs (#6449) next »