1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-19265 Server should throw warning if event is created and event_scheduler = OFF

This commit is contained in:
Vladislav Vaintroub
2019-04-25 18:51:28 +02:00
parent 7590861779
commit e8778f1c7c
36 changed files with 289 additions and 4 deletions

View File

@ -1,6 +1,8 @@
"Testing mysql_upgrade with EVENT performance_schema.user_event"
create event test.user_event on schedule every 1 day do
select "not supposed to be here";
Warnings:
Warning 1105 Event scheduler is switched off, use SET GLOBAL event_scheduler=ON to enable it.
update mysql.event set db='performance_schema' where name='user_event';
select name from mysql.event where db='performance_schema';
name