• Venkatesh Duggirala's avatar
    BUG#15888454: SLAVE CRASHES WHEN DML REQUIRES CONVERSION & TABLE HAS · d68cba34
    Venkatesh Duggirala authored
    LESS COLUMNS THAN MASTER
    
    Problem:
    ========
    If DML operation requires a converstion at slave and if slave contains
    less number of columns than master, slave is crashing.
    
    Fix:
    ====
    When Slave applies any DML operation, it sees if any of the columns 
    requires conversion. If yes, it creates conversion table. 
    While creating the coversion table, it should look into the actual number 
    of columns required to create the table instead of getting the number
    of columns from Master (size()). Columns would have dropped or added
    at Slave. So the value should be min(columns@master, columns@slave)
    d68cba34
rpl_utility.cc 31.5 KB