• unknown's avatar
    Fix for BUG#12335 (SP replication) : New binlogging strategy for stored PROCEDUREs/FUNCTIONs. · b45f0cd0
    unknown authored
    "Interleaved SPs execution is now binlogged properly, "SELECT spfunc()" is binlogged too.
    The known remaining issue is binlogging/replication of "a routine is deleted while it is executed" scenario.
    
    
    mysql-test/r/rpl_sp.result:
      Fix for BUG#12335: updated test cases/results
    mysql-test/t/rpl_sp.test:
      Fix for BUG#12335: updated test cases/results
    sql/item.cc:
      Fix for BUG#12335 (SP replication): 
       - Added Item_name_const 'function'
       - Addede 'delete reuse' to call dtor on item reuse
    sql/item.h:
      Fix for BUG#12335 (SP replication) : Added Item_name_const 'function' + code cleanup
    sql/item_create.cc:
       Fix for BUG#12335 (SP replication) : Added Item_name_const 'function'
    sql/item_create.h:
       Fix for BUG#12335 (SP replication) : Added Item_name_const 'function'
    sql/item_func.cc:
      Fix for BUG#12335 (SP replication) : binary log is now constrolled from within execute_function.
    sql/lex.h:
      Fix for BUG#12335 ...
    b45f0cd0
lex.h 31.8 KB