summaryrefslogtreecommitdiff
path: root/mysql-test/t/rpl_replicate_do.test
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-01-06 01:48:59 +0200
committermonty@mashka.mysql.fi <>2003-01-06 01:48:59 +0200
commit1f6ecc0cd3d9acf4751ebbbf8db8b6ee468d3abf (patch)
tree5fe133480d7e74a88990405ae324694fb8797fa5 /mysql-test/t/rpl_replicate_do.test
parentf9772317eefe95fe8152d69593082b2864164e16 (diff)
downloadmariadb-git-1f6ecc0cd3d9acf4751ebbbf8db8b6ee468d3abf.tar.gz
Changed mysql-test to print warnings for not existing table to DROP TABLE
Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names. changed store_warning() -> push_warning_print()
Diffstat (limited to 'mysql-test/t/rpl_replicate_do.test')
-rw-r--r--mysql-test/t/rpl_replicate_do.test5
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/t/rpl_replicate_do.test b/mysql-test/t/rpl_replicate_do.test
index 0800062dc05..dcb3c5034fd 100644
--- a/mysql-test/t/rpl_replicate_do.test
+++ b/mysql-test/t/rpl_replicate_do.test
@@ -2,9 +2,12 @@
# updates on t1
source include/master-slave.inc;
+--disable_warnings
drop table if exists t11;
connection slave;
drop table if exists t11;
+--enable_warnings
+
create table t2 (n int);
insert into t2 values(4);
connection master;
@@ -24,7 +27,7 @@ select * from t2;
--error 1146
select * from t11;
connection master;
-drop table if exists t1,t2,t3,t11;
+drop table if exists t1,t2,t11;
save_master_pos;
connection slave;
sync_with_master;