• unknown's avatar
    Fixed problem that Start_log_event_v3::created was not set properly · 3593bb4f
    unknown authored
    (This is becasue 'when' is not anymore set in constructor)
    
    
    client/mysqlbinlog.cc:
      strcpy -> strmov
    sql/log.cc:
      Added flag dont_set_created
    sql/log_event.cc:
      Moved time handling to inline function.
      Moved setting of 'created' to ::write() function.
      Added flag dont_set_created to define if 'created' should be set or not.
      This was needed as 'when' is not set in Log_event() anymore.
      Fixed some missed thd -> thd_arg
    sql/log_event.h:
      Indentation fixed
      Added inline get_time() function.
      Added dont_set_created flag to Start_log_event_v3
    3593bb4f
mysqlbinlog.cc 51.1 KB