• unknown's avatar
    WL#3228 (NDB) : RBR using different table defs on slave/master · 33943431
    unknown authored
    This patch corrects a problem found during testing on Solaris. The code
    changes how length values are retrieved on big endian machines. The
    patch allows the rpl_extraColmaster tests to run on these machines.
    
    
    mysql-test/suite/rpl/r/rpl_row_create_table.result:
      WL#3228 (NDB) : RBR using different table defs on slave/master
      
      New result file with changes from merge of 5.1 main.
    mysql-test/suite/rpl/t/disabled.def:
      WL#3228 (NDB) : RBR using different table defs on slave/master
      
      Disable the rpl_rwo_extraColmaster_ndb test (WL#3915) because the code
      fails on Big Endian machines. See BUG#29549 for more details.
    sql/field.cc:
      WL#3228 (NDB) : RBR using different table defs on slave/master
      
      This patch corrects a problem found during testing on Solaris. The code
      changes how the store_length method processes requests for values on
      big endian machines.
    sql/field.h:
      WL#3228 (NDB) : RBR using different table defs on slave/master
      
      This patch corrects a problem found during testing on Solaris. The code
      changes how the store_length method processes requests for values on
      big endian machines. It also changes the get_packed_length() method to
      use the endian-ness of the host in getting the length + packlength.
    sql/rpl_record.cc:
      WL#3228 (NDB) : RBR using different table defs on slave/master
      
      This patch turns on the little endian switch (db_low_byte_first) in 
      order to ensure the values are unpack correctly from binlog as they
      are stored in little endian format in binlog.
    sql/rpl_utility.cc:
      WL#3228 (NDB) : RBR using different table defs on slave/master
      
      This patch corrects a problem found during testing on Solaris. The code
      changes how the calculated field size method processes requests for 
      values on big endian machines.
    33943431
field.h 67.9 KB