Changeset 432
- Timestamp:
- 06/29/2007 02:59:36 AM (16 months ago)
- Location:
- branches/1.2
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/ChangeLog
r423 r432 5 5 == ChangeLog == 6 6 * #86: remove/edit variable in admin page 7 * fixed #109: fast inc/dec was trying to break ro protection 7 8 * fixed #101, #105: Fixed compatibility issue for apache 1.x 8 9 * fixed #94: Garbage collector disabled when xcache.cacher set to off -
branches/1.2/xcache.c
r428 r432 2002 2002 stored_var = stored_xce->data.var; 2003 2003 if (Z_TYPE_P(stored_var->value) == IS_LONG) { 2004 zval *zv; 2004 2005 stored_xce->ctime = XG(request_time); 2005 2006 stored_xce->ttl = xce.ttl; … … 2010 2011 value += (inc == 1 ? count : - count); 2011 2012 RETVAL_LONG(value); 2012 Z_LVAL_P(stored_var->value) = value; 2013 2014 zv = (zval *) xce.cache->shm->handlers->to_readwrite(xce.cache->shm, (char *) stored_var->value); 2015 Z_LVAL_P(zv) = value; 2013 2016 break; /* leave lock */ 2014 2017 }

