• sjaakola's avatar
    MW-416 DDL replication moved after acl checking · 64e1dda0
    sjaakola authored
    galera_events test shows a regression with the original fix for MW-416
    Reason was that Events::drop_event() can be called also from inside event
    execution, and there we have a speacial treatment for event, which executes
    "DROP EVENT" statement, and runs TOI replication inside the event processing body.
    This resulted in executing WSREP_TO_ISOLATION two times for such DROP EVENT statement.
    Fix is to call WSREP_TO_ISOLATION_BEGIN only in Events::drop_event()
    64e1dda0
event_data_objects.cc 43.7 KB