# This test checks that a slave DOES execute queries originating# from itself, if running with --replicate-same-server-id.sourceinclude/master-slave.inc;connectionslave;createtablet1(nint);resetmaster;# replicate ourselvesstopslave;--replace_result$SLAVE_MYPORTSLAVE_PORTevalchangemastertomaster_port=$SLAVE_MYPORT;startslave;insertintot1values(1);save_master_pos;sync_with_master;select*fromt1;# check that indeed 2 were inserted# We stop the slave before cleaning up otherwise we'll get# 'drop table t1' executed twice, so an error in the slave.err# (not critical).stopslave;droptablet1;# End of 4.1 tests