# Embedded server doesn't support binlog--sourceinclude/not_embedded.inc--sourceinclude/have_log_bin.inc--disable_warningsdroptableifexistst1,t2;--enable_warnings# Check if a partly-completed INSERT SELECT in a MyISAM table goes into the# binlogcreatetablet1(aint,unique(a));insertintot1values(2);createtablet2(aint);insertintot2values(1),(2);resetmaster;--errorER_DUP_ENTRYinsertintot1select*fromt2;# The above should produce an error, but still be in the binlog;# verify the binlog :let$VERSION=`select version()`;sourceinclude/show_binlog_events.inc;select*fromt1;droptablet1,t2;# Verify that a partly-completed CREATE TABLE .. SELECT does not# get into the binlog (Bug #6682)createtablet1(aint);insertintot1values(1),(1);resetmaster;--errorER_DUP_ENTRYcreatetablet2(unique(a))selectafromt1;# The above should produce an error, *and* not appear in the binloglet$VERSION=`select version()`;sourceinclude/show_binlog_events.inc;droptablet1;# End of 4.1 tests