Changeset 477 for trunk/xcache.c


Ignore:
Timestamp:
2007-08-19T16:15:51+02:00 (7 years ago)
Author:
moo
Message:

opcodes data is copied but not the op_array. use op_array_handler instead

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r474 r477  
    10001000    } 
    10011001 
    1002 #ifdef HAVE_XCACHE_OPTIMIZER 
    1003     if (XG(optimizer)) { 
    1004         xc_optimize(op_array TSRMLS_CC); 
    1005     } 
    1006 #endif 
    10071002    /* }}} */ 
    10081003    /* {{{ prepare */ 
     
    12001195    if (!XG(cacher)) { 
    12011196        op_array = old_compile_file(h, type TSRMLS_CC); 
    1202 #ifdef HAVE_XCACHE_OPTIMIZER 
    1203         if (XG(optimizer)) { 
    1204             xc_optimize(op_array TSRMLS_CC); 
    1205         } 
    1206 #endif 
    12071197        return op_array; 
    12081198    } 
     
    30513041    NULL,           /* deactivate_func_t */ 
    30523042    NULL,           /* message_handler_func_t */ 
     3043#ifdef HAVE_XCACHE_OPTIMIZER 
     3044    xc_optimizer_op_array_handler, 
     3045#else 
    30533046    NULL,           /* op_array_handler_func_t */ 
     3047#endif 
    30543048    xcache_statement_handler, 
    30553049    xcache_fcall_begin_handler, 
Note: See TracChangeset for help on using the changeset viewer.