• unknown's avatar
    WL#3337 (Events new infrasctructure) · d2db48c6
    unknown authored
    Second cut of separating parsing phase from execution phase
    Separate Event_timed from parsing phase and introducing Event_parse_data.
    
    
    sql/event_data_objects.cc:
      second cut,
      copy Event_timed::init_body() to Event_parse_data::init_body()
      Init the body during parsing, everything else keep as a pointer to
      Item or some other pointer to use for later initialization.
    sql/event_data_objects.h:
      get the identifier as sp_name*, later will initialize our structures
    sql/events.cc:
      for easy transition add temporarily parse_data, later Event_timed *et will be removed.
      Do slow transition because Event_timed is so tightly integrated that a front-attack
      by removing things from this class was unsuccessful. Do things step by step by eliminating
      dependencies. Hence, the code could be checked with the current test suite too
      (early testing)
    sql/events.h:
      for easy transition add temporarily parse_data, later Event_timed *et will be removed.
      Do slow transition because Event_timed is so tightly integrated that a front-attack
      by removing things from this class was unsuccessful. Do things step by step by eliminating
      dependencies. Hence, the code could be checked with the current test suite too
      (early testing)
    BitKeeper/etc/ignore:
      Added libmysql/viosocket.o.6WmSJk libmysqld/event_data_objects.cc libmysqld/event_db_repository.cc libmysqld/event_queue.cc server-tools/instance-manager/net_serv.cc to the ignore list
    sql/share/errmsg.txt:
      remove this message, not used and needed for now
    sql/sql_lex.h:
      for easy transition add temporarily parse_data, later Event_timed *et will be removed.
      Do slow transition because Event_timed is so tightly integrated that a front-attack
      by removing things from this class was unsuccessful. Do things step by step by eliminating
      dependencies. Hence, the code could be checked with the current test suite too
      (early testing)
    sql/sql_parse.cc:
      for easy transition add temporarily parse_data, later Event_timed *et will be removed.
      Do slow transition because Event_timed is so tightly integrated that a front-attack
      by removing things from this class was unsuccessful. Do things step by step by eliminating
      dependencies. Hence, the code could be checked with the current test suite too
      (early testing)
    sql/sql_yacc.yy:
      for easy transition add temporarily parse_data, later Event_timed *et will be removed.
      Do slow transition because Event_timed is so tightly integrated that a front-attack
      by removing things from this class was unsuccessful. Do things step by step by eliminating
      dependencies. Hence, the code could be checked with the current test suite too
      (early testing)
    d2db48c6
event_data_objects.cc 53 KB