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.

42 lines
816 B

  1. source include/federated.inc;
  2. connection slave;
  3. --disable_warnings
  4. DROP TABLE IF EXISTS federated.bug_13118_table;
  5. --enable_warnings
  6. CREATE TABLE federated.bug_13118_table (
  7. `foo` integer,
  8. `bar` integer
  9. );
  10. connection master;
  11. --disable_warnings
  12. DROP TABLE IF EXISTS federated.t1;
  13. --enable_warnings
  14. --replace_result $SLAVE_MYPORT SLAVE_PORT
  15. eval CREATE TABLE federated.t1 (
  16. `foo` integer,
  17. `bar` integer
  18. ) ENGINE="FEDERATED"
  19. CONNECTION='mysql://root@127.0.0.1:$SLAVE_MYPORT/federated/bug_13118_table';
  20. SELECT * from federated.t1;
  21. INSERT INTO federated.t1 VALUES (1,1);
  22. SELECT * FROM federated.t1;
  23. INSERT INTO federated.t1 VALUES (1,1);
  24. SELECT * FROM federated.t1;
  25. DROP TABLE federated.t1;
  26. connection slave;
  27. DROP TABLE federated.bug_13118_table;
  28. source include/federated_cleanup.inc;