• unknown's avatar
    Fixes to make it compile when using Sun CC and restoring some changes · a8bcc697
    unknown authored
    done in previous patches.
    
    There is an error in the Sun CC compiler that treats parameters that
    differ in only qualifier as different, even though this is not
    allowed by the standard (ISO/IEC 14882:2003, Section 13.1).
    
    
    sql/log_event.cc:
      Removing const qualifier since it causes linker error.
    sql/log_event.h:
      Restoring time_t instead of my_time_t since it causes warnings
      elsewhere.  Renaming parameters to functions since they hide
      member variable (which causes warnings on Sun CC).
    sql/rpl_record.cc:
      Removing const qualifier since it causes linker error.
    sql/rpl_rli.cc:
      Restoring time_t instead of my_time_t since it causes warnings
      elsewhere. Removing const qualifier since it causes linker error.
    sql/rpl_rli.h:
      Restoring time_t instead of my_time_t since it causes warnings
      elsewhere. Removing const qualifier since it causes linker error.
    a8bcc697
log_event.cc 247 KB