Changeset 456 for trunk/xcache.c

Show
Ignore:
Timestamp:
07/14/2007 05:06:10 AM (17 months ago)
Author:
moo
Message:

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

Files:
1 modified

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    }