• Monty's avatar
    MDEV-8432 Slave cannot replicate signed integer-type values with high bit set to 1 · 44de090a
    Monty authored
    The fix is that if the slave has a different integer size than
    the master, then they will assume the master has the same signed/unsigned modifier
    as the slave.
    
    This means that one can safely change a coon the slave an int to a bigint
    or an unsigned int to an unsigned int.  Changing an unsigned int to an
    signed bigint will cause replication failures when the high bit of the
    unsigned int is set.
    
    We can't give an error if the signess is different on the master and slave
    as the binary log doesn't contain the signess of the column on the master.
    44de090a
rpl_alter.test 1.83 KB