• unknown's avatar
    Reorganize, physically the events code · 99438424
    unknown authored
    Unify method naming -> create/update/drop_event
    Move class Event_timed to event_timed.h
    class Events is in events.h (renamed from event.h)
    The implementation is in events.cc (renamed from event.h)
    
    
    BitKeeper/deleted/.del-event_executor.cc~f4a4645b973838ab:
      Delete: sql/event_executor.cc
    include/my_time.h:
      add a boundary
    libmysqld/CMakeLists.txt:
      event.cc -> events.cc
    libmysqld/Makefile.am:
      event.cc -> event.cc
    sql/CMakeLists.txt:
      event.cc -> events.cc
    sql/Makefile.am:
      event.cc -> events.cc
      event_priv.h -> events_priv.h
    sql/event_scheduler.cc:
      event.h -> events.h
      add_event -> create_event
      replace_event -> update_event()
      event_timed_compare_q is only used in event_scheduler.cc , so moving it
      from event.cc and making it static
    sql/event_scheduler.h:
      add_event -> create_event
      replace_event -> update_event
    sql/event_timed.cc:
      moved extern interval_type_to_name to mysql_priv.h
    sql/mysql_priv.h:
      moved my_time_compare to time.cc
    sql/mysqld.cc:
      event.h -> events.h
    sql/sql_db.cc:
      event.h -> events.h
    sql/sql_parse.cc:
      event.h -> events.h
      class Event_timed moved to event_timed.h
    sql/sql_show.cc:
      event.h -> events.h
      class Event_timed moved to event_timed.h
    sql/sql_yacc.yy:
      event.h -> events.h
      class Event_timed moved to event_timed.h
    sql/events.cc:
      add_event -> create_event
      replace_event -> update_event
      event_timed_compare_q moved to event_scheduler.cc
    sql/events.h:
      class Event_timed moved to event_timed.h
    sql/events_priv.h:
      my_time_compare moved to mysql_priv.h
      event_timed_compare_q is static in event_scheduler.cc
    sql/time.cc:
      moved interval_type_to_name from event.cc to here.
    BitKeeper/etc/ignore:
      Added libmysqld/events.cc to the ignore list
    99438424
CMakeLists.txt 4.73 KB