Changeset 598 for branches/1.3/xcache.c
- Timestamp:
- 2009-07-05T07:25:36+02:00 (4 years ago)
- Location:
- branches/1.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
-
branches/1.3/xcache.c
r596 r598 446 446 array_init(ei); 447 447 448 add_assoc_long_ex(ei, ZEND_STRS("size"), entry->size); 448 449 add_assoc_long_ex(ei, ZEND_STRS("refcount"), entry->refcount); 449 450 add_assoc_long_ex(ei, ZEND_STRS("hits"), entry->hits); … … 476 477 case XC_TYPE_PHP: 477 478 php = entry->data.php; 478 add_assoc_long_ex(ei, ZEND_STRS("size"), entry->size + php->size);479 add_assoc_long_ex(ei, ZEND_STRS("phprefcount"), php->refcount);480 479 add_assoc_long_ex(ei, ZEND_STRS("sourcesize"), php->sourcesize); 481 480 #ifdef HAVE_INODE … … 494 493 #endif 495 494 break; 496 497 495 case XC_TYPE_VAR: 498 496 var = entry->data.var; 499 add_assoc_long_ex(ei, ZEND_STRS("size"), entry->size);500 497 break; 501 498 … … 1444 1441 1445 1442 err: 1443 xc_destroy(); 1446 1444 if (xc_php_caches || xc_var_caches) { 1447 xc_destroy();1448 1445 /* shm destroied in xc_destroy() */ 1449 1446 } 1450 1447 else if (shm) { 1451 xc_destroy();1452 1448 xc_shm_destroy(shm); 1453 1449 }
Note: See TracChangeset
for help on using the changeset viewer.

