summaryrefslogtreecommitdiff
path: root/mysql-test/suite/rpl/r/rpl_create_drop_db.result
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/rpl/r/rpl_create_drop_db.result')
-rw-r--r--mysql-test/suite/rpl/r/rpl_create_drop_db.result6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/suite/rpl/r/rpl_create_drop_db.result b/mysql-test/suite/rpl/r/rpl_create_drop_db.result
index b6fb6f127c8..862afdd7011 100644
--- a/mysql-test/suite/rpl/r/rpl_create_drop_db.result
+++ b/mysql-test/suite/rpl/r/rpl_create_drop_db.result
@@ -1,28 +1,34 @@
include/master-slave.inc
[connection master]
+connection master;
CREATE DATABASE db1;
CREATE DATABASE IF NOT EXISTS db1;
Warnings:
Note 1007 Can't create database 'db1'; database exists
CREATE OR REPLACE DATABASE db2;
CREATE OR REPLACE DATABASE db1;
+connection slave;
SHOW DATABASES LIKE 'db%';
Database (db%)
db1
db2
+connection master;
CREATE DATABASE db1;
ERROR HY000: Can't create database 'db1'; database exists
DROP DATABASE db3;
ERROR HY000: Can't drop database 'db3'; database doesn't exist
CREATE DATABASE IF NOT EXISTS db3;
+connection slave;
SHOW DATABASES LIKE 'db%';
Database (db%)
db1
db2
db3
+connection master;
DROP DATABASE db1;
DROP DATABASE db2;
DROP DATABASE IF EXISTS db3;
+connection slave;
SHOW DATABASES LIKE 'db%';
Database (db%)
include/rpl_end.inc