Changeset 456 for trunk/xcache.c


Ignore:
Timestamp:
2007-07-14T07:06:10+02:00 (7 years ago)
Author:
moo
Message:

fixed #133: add "compile failures" in XCache admin stats

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r455 r456  
    472472    add_assoc_long_ex(return_value, ZEND_STRS("clogs"),     cache->clogs); 
    473473    add_assoc_long_ex(return_value, ZEND_STRS("ooms"),      cache->ooms); 
     474    add_assoc_long_ex(return_value, ZEND_STRS("errors"),    cache->errors); 
    474475 
    475476    add_assoc_long_ex(return_value, ZEND_STRS("cached"),    cache->entries_count); 
     
    14021403    if (catched) { 
    14031404        cache->compiling = 0; 
     1405        cache->errors ++; 
    14041406        zend_bailout(); 
    14051407    } 
Note: See TracChangeset for help on using the changeset viewer.