mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
070c8e7437
when set to DISABLED It was a silly ordering number error. sql/events.h: fix ordinal number, the cause for bug #22662 Inconsistent values displayed for event_scheduler when set to DISABLED mysql-test/r/events_restart_phase0.result: New BitKeeper file ``mysql-test/r/events_restart_phase0.result'' mysql-test/t/events_restart_phase0.log: New BitKeeper file ``mysql-test/t/events_restart_phase0.log'' mysql-test/t/events_restart_phase0.result: New BitKeeper file ``mysql-test/t/events_restart_phase0.result''
22 lines
1.2 KiB
Text
22 lines
1.2 KiB
Text
SHOW VARIABLES LIKE 'event%';
|
|
Variable_name Value
|
|
event_scheduler DISABLED
|
|
SELECT @@global.event_scheduler;
|
|
@@global.event_scheduler
|
|
DISABLED
|
|
SET GLOBAL event_scheduler=on;
|
|
ERROR HY000: The MySQL server is running with the --event-scheduler=DISABLED option so it cannot execute this statement
|
|
SET GLOBAL event_scheduler=off;
|
|
ERROR HY000: The MySQL server is running with the --event-scheduler=DISABLED option so it cannot execute this statement
|
|
SET GLOBAL event_scheduler=0;
|
|
ERROR HY000: The MySQL server is running with the --event-scheduler=DISABLED option so it cannot execute this statement
|
|
SET GLOBAL event_scheduler=1;
|
|
ERROR HY000: The MySQL server is running with the --event-scheduler=DISABLED option so it cannot execute this statement
|
|
SET GLOBAL event_scheduler=2;
|
|
ERROR 42000: Variable 'event_scheduler' can't be set to the value of '2'
|
|
SET GLOBAL event_scheduler=SUSPEND;
|
|
ERROR 42000: Variable 'event_scheduler' can't be set to the value of 'SUSPEND'
|
|
SET GLOBAL event_scheduler=SUSPENDED;
|
|
ERROR 42000: Variable 'event_scheduler' can't be set to the value of 'SUSPENDED'
|
|
SET GLOBAL event_scheduler=disabled;
|
|
ERROR 42000: Variable 'event_scheduler' can't be set to the value of 'disabled'
|