We have a-b-a replication between servers in data centres and have started seeing the following appearing when you run show slave status:
Query caused different errors on master and slave. Error on master: 'Invalid error code' (126), Error on slave: 'no error' (0). Default database: 'EMFMTA_1_2'. Query: 'REPLACE INTO rescan_schedule SELECT MailInID,RecipID,ADDDATE(NOW(),INTERVAL IFNULL(ELT(Attempts,60,60,120,240,480,900,1800,3600,7200,14400),SUBSTRING_INDEX('60,60,120,240,480,900,1800,3600,7200,14400',',',IF(Attempts<1,1,-1))) SECOND),NULL FROM recip WHERE RecipID in (2181280448,2181280452)'
The servers are both the same MySQL version (5.0.18-max-log). What might cause an "invalid error code"?