• unknown's avatar
    BUG#13418 (V2): Bit columns should replicate correctly when using RBR · dededdec
    unknown authored
    
    mysql-test/r/rpl_bit_npk.result:
      Updated results
    mysql-test/t/disabled.def:
      rpl_bit_npk now works
    sql/field.h:
      Field_bit::cmp_binary_offset wrongly used base class method that does not work for Field_bit
      This was discussed with Monty and should be pushed into 5.0 too
    sql/log_event.cc:
      Added checks for null bits
      Swapped use of m_after_image (was m_search_record) and table->record[1] to use record[i] 
      in the same way as other MySQL code (i.e. use record[1] for scan data).
      Removed use of cmp_binary in record_compare (it is currently wrong to use that 
      without copying the null bits to the compare data record)
    sql/log_event.h:
      Name change to indicate new semantics
    dededdec
rpl_bit_npk.result 3.09 KB