1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +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

@ -216,6 +216,8 @@ DO
BEGIN
UPDATE test.t1 SET a = a + 1 WHERE a < 10;
END|
Warnings:
Warning 1105 Event scheduler is switched off, use SET GLOBAL event_scheduler=ON to enable it.
RESET SLAVE;
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=MASTER_PORT, MASTER_USER='root', MASTER_CONNECT_RETRY=20, MASTER_HEARTBEAT_PERIOD=5;
include/start_slave.inc