• Luis Soares's avatar
    PB2 was showing some valgrind warnings after WL#5151 was pushed. · 67cc50d2
    Luis Soares authored
    This patch fixes these warnings and some compile time warnings.
    
    On top of that, it also fixes rpl_err_ignoredtable test failure.
    This test was failing because the warning suppression text was not
    matching the latest text. We fix this by making them match.
    
    
    mysql-test/suite/rpl/t/rpl_err_ignoredtable.test:
      Replaced the suppression text.
    sql/rpl_record.cc:
      - Fixed some compile time warnings (replaced %d --> %ld and 
        removed unused mas mask variable.
      - Fixed valgrind warnings when using c_ptr(). Replaced with 
        c_ptr_safe().
    sql/rpl_utility.cc:
      - Fixed valgrind warnings when using c_ptr(). Replaced with 
        c_ptr_safe().
    67cc50d2
rpl_record.cc 14.9 KB