• unknown's avatar
    BUG#22645 - LC_TIME_NAMES: Statement not replicated · 1f58d47f
    unknown authored
    This patch is an additional code change to the get_str_len_and_pointer
    method in log_events.cc. This change is necessary to correct a problem
    encountered on 64-bit SUSE where the auto_increment_* variables were
    being overwritten. The change corrects a cast mismatch which caused
    the problem.
    
    
    sql/log_event.cc:
      BUG#22645 - LC_TIME_NAMES: Statement not replicated
      This patch is an additional code change to the get_str_len_and_pointer,
      copy_str_and_move methods and the Query_leg_event constructor to 
      correct a type mismatch encountered during testing on SUSE 64-bit. The patch changes
      the data type of the buffer variables was changed to a new typedef 
      defined in the Log_event class. The new type is:
      
      typedef unsigned char Byte; 
      
      The variables changed include:
      
      pos, start, end, and data_buf
    sql/log_event.h:
      BUG#22645 - LC_TIME_NAMES: Statement not replicated
      This patch adds a new type definition to the Log_event class. The new
      type is typedef unsigned char Byte. It is used in place of the uchar
      and usigned char definitions in the Query_log_event constructor to 
      eliminate type conversion problems encountere on SUSE 64-bit.
    1f58d47f
log_event.cc 156 KB