1. 10 Feb, 2010 1 commit
  2. 18 Jan, 2010 1 commit
  3. 15 Jan, 2010 1 commit
    • Luis Soares's avatar
      BUG#49562: SBR out of sync when using numeric data types + user · 8c172024
      Luis Soares authored
      variable
      
      The User_var_log_event was not serializing the unsigned
      flag. This would cause the slave to always assume signed values.
      
      We fix this by extending the User_var_log_event to also contain
      information on the unsigned_flag, meaning that it gets into the
      binlog as well, therefore the slave will get this information as
      well. Events without information on unsigned flag (old events)
      are treated as they were before (always signed: unsigned_flag=
      FALSE).
      
      The information on the unsigned_flag, is shipped in an extra byte
      appended to the end of the User_var_log_event and added by this
      patch. This extra byte holds values for general purpose
      User_var_log_event flags which are now packed in the binlog as
      well. One of these flags contains information about whether the
      value is signed or unsigned (currently this extra byte is only
      used to hold data on the unsigned flag, in the future we can use
      it to pack extra flags if there is the need to).
      8c172024