• unknown's avatar
    Fix for bug #23775 "Replicated event larger that max_allowed_packet infinitely re-transmits". · f7aa1930
    unknown authored
    Problem: to handle a situation when the size of event on the master is greater than max_allowed_packet on slave, we checked for the wrong constant (ER_NET_PACKET_TOO_LARGE instead of CR_NET_PACKET_TOO_LARGE).
    
    Solution: test for the client "packet too large" error code instead of the server one in slave I/O thread.
    
    
    mysql-test/r/rpl_packet.result:
      Added test case for bug #23775 "Replicated event larger that max_allowed_packet infinitely re-transmits"
    mysql-test/t/rpl_packet.test:
      Added test case for bug #23775 "Replicated event larger that max_allowed_packet infinitely re-transmits"
    sql/slave.cc:
      Test for the client "packet too large" error code instead of the server one in slave I/O thread.
    f7aa1930
rpl_packet.result 3.91 KB