• Luis Soares's avatar
    BUG#46697: Table name in error message is not populated · 8282ddc4
    Luis Soares authored
    When a query fails with a different error on the slave,
    the sql thread outputs a message (M) containing:
    
      1. the error message format for the master error code
      2. the master error code
      3. the error message for the slave's error code
      4. the slave error code
    
    Given that the slave has no information on the error message
    itself that the master outputs, it can only print its own
    version of the message format (but stripped from the 
    additional data if the message format requires). This may
    confuse users.
    
    To fix this we augment the slave's message (M) to explicitly
    state that the master's message is actually an error message 
    format, the one associated with the given master error code 
    and that the slave server knows about.
    8282ddc4
rpl_stm_EE_err2.result 720 Bytes