1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +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

@@ -21,6 +21,8 @@ DO
BEGIN
UPDATE t1 SET id = id +1;
END;|
Warnings:
Warning 1105 Event scheduler is switched off, use SET GLOBAL event_scheduler=ON to enable it.
Check Result
select
(@a:=load_file("MYSQLTEST_VARDIR/tmp/mysqlbinlog_bug39526.binlog"))