You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
384 B

  1. stop slave;
  2. drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
  3. reset master;
  4. reset slave;
  5. drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
  6. start slave;
  7. create table t1 (n int not null primary key);
  8. insert into t1 values (1);
  9. create table t2 (n int);
  10. insert into t2 values (1);
  11. insert ignore into t1 select * from t2;
  12. insert into t1 values (2);
  13. select * from t1;
  14. n
  15. 1
  16. 2
  17. drop table t1,t2;