mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Bug#11751148 : show events shows events in other schema
Issue: ====== Test case Correction for bug#11751148.
This commit is contained in:
parent
9d1c240ac2
commit
4a4892d4d8
2 changed files with 8 additions and 8 deletions
|
@ -747,15 +747,15 @@ event_name originator
|
|||
ev1 4294967295
|
||||
DROP EVENT ev1;
|
||||
SET GLOBAL server_id = @old_server_id;
|
||||
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;
|
||||
SHOW EVENTS;
|
||||
Db Name Definer Time zone Type Execute at Interval value Interval field Starts Ends Status Originator character_set_client collation_connection Database Collation
|
||||
DROP DATABASE event_test1;
|
||||
DROP DATABASE event_test2;
|
||||
DROP DATABASE event_test12;
|
||||
DROP DATABASE events_test;
|
||||
SET GLOBAL event_scheduler= 'ON';
|
||||
SET @@global.concurrent_insert= @concurrent_insert;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
||||
###########################################################################
|
||||
|
|
Loading…
Reference in a new issue