# Test for # Bug #797: If a query is ignored on slave (replicate-ignore-table) the slave# still checks that it has the same error as on the master.sourceinclude/master-slave.inc;connectionmaster;createtablet1(aintprimarykey);# generate an error that goes to the binlog--error1062;insertintot1values(1),(1);save_master_pos;connectionslave;# as the t1 table is ignored on the slave, the slave should be able to syncsync_with_master;
# The port number is different when doing the release build with# Do-compile, hence we have to replace the port number here accordingly--replace_result3306MASTER_PORT9306MASTER_PORT3334MASTER_PORT3336MASTER_PORT
showslavestatus;# check that the table has been ignored, because otherwise the test is nonsenseshowtableslike't1';connectionmaster;droptablet1;save_master_pos;connectionslave;sync_with_master;