diff options
author | s.sujatha <sujatha.sivakumar@oracle.com> | 2015-01-19 18:22:14 +0530 |
---|---|---|
committer | s.sujatha <sujatha.sivakumar@oracle.com> | 2015-01-19 18:22:14 +0530 |
commit | 70f5d81a96ba38d690e907f5fd56760b9ee87803 (patch) | |
tree | 09dce14a31f003f44ba76b0386c110e929380154 /mysql-test | |
parent | c9f307c456c546c76074dceea2e2464507cf2a2f (diff) | |
download | mariadb-git-70f5d81a96ba38d690e907f5fd56760b9ee87803.tar.gz |
Bug#20041860: SLAVE ERROR WHEN DROP DATABASE
Fixing a post push test issue.
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/suite/rpl/t/rpl_drop_db_fail.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/suite/rpl/t/rpl_drop_db_fail.test b/mysql-test/suite/rpl/t/rpl_drop_db_fail.test index 9cf60cf2adf..f0ba06b46c5 100644 --- a/mysql-test/suite/rpl/t/rpl_drop_db_fail.test +++ b/mysql-test/suite/rpl/t/rpl_drop_db_fail.test @@ -17,7 +17,9 @@ use db1; CREATE TABLE a(id INT); CREATE VIEW v AS SELECT * FROM a; CREATE TABLE table_father(id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(20)) ENGINE=INNODB; +--sync_slave_with_master +connection master; use db2; CREATE TABLE table_child(id INT PRIMARY KEY, info VARCHAR(20), father_id INT) ENGINE=INNODB; ALTER TABLE table_child ADD CONSTRAINT aaa FOREIGN KEY (father_id) REFERENCES db1.table_father(id); |