summaryrefslogtreecommitdiff
path: root/mysql-test/t/events_bugs.test
diff options
context:
space:
mode:
authorMayank Prasad <mayank.prasad@oracle.com>2011-03-28 21:01:37 +0530
committerMayank Prasad <mayank.prasad@oracle.com>2011-03-28 21:01:37 +0530
commit08e472ff349bb5d21b4881828ed62748ecf7aa40 (patch)
tree35c0d0e7368e23808fc992a23db2e5c0d3103624 /mysql-test/t/events_bugs.test
parent47885f552b1822291584b71c791fd5175ba6567f (diff)
downloadmariadb-git-08e472ff349bb5d21b4881828ed62748ecf7aa40.tar.gz
Bug#11751148 : show events shows events in other schema
Issue: ====== Test case Correction for bug#11751148. mysql-test/r/events_bugs.result: Result file Correction for bug#11751148. mysql-test/t/events_bugs.test: Test case Correction for bug#11751148.
Diffstat (limited to 'mysql-test/t/events_bugs.test')
-rw-r--r--mysql-test/t/events_bugs.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/mysql-test/t/events_bugs.test b/mysql-test/t/events_bugs.test
index 83e37cdccdb..420e7183621 100644
--- a/mysql-test/t/events_bugs.test
+++ b/mysql-test/t/events_bugs.test
@@ -1225,15 +1225,15 @@ SET GLOBAL server_id = @old_server_id;
# Bug#11751148: show events shows events in other schema
#
+CREATE DATABASE event_test12;
+USE event_test12;
+CREATE EVENT ev1 ON SCHEDULE EVERY 1 DAY DO SELECT 1;
CREATE DATABASE event_test1;
USE event_test1;
-CREATE EVENT ev1 ON SCHEDULE EVERY 1 DAY DO SELECT 1;
-CREATE DATABASE event_test2;
-USE event_test2;
# Following show events should not show ev1
SHOW EVENTS;
DROP DATABASE event_test1;
-DROP DATABASE event_test2;
+DROP DATABASE event_test12;
###########################################################################