Details
Description
The server currently allows events to be created when event_scheduler = OFF without even throwing a warning. Shouldn't a warning be thrown, at least?
MariaDB [(none)]> SHOW GLOBAL VARIABLES LIKE 'event_scheduler';
|
+-----------------+-------+
|
| Variable_name | Value |
|
+-----------------+-------+
|
| event_scheduler | OFF |
|
+-----------------+-------+
|
1 row in set (0.00 sec)
|
|
MariaDB [(none)]> CREATE EVENT db1.myevent
|
-> ON SCHEDULE AT CURRENT_TIMESTAMP + INTERVAL 1 HOUR
|
-> DO SELECT NOW();
|
Query OK, 0 rows affected (0.00 sec)
|
|
MariaDB [(none)]> SHOW WARNINGS;
|
Empty set (0.00 sec)
|
Attachments
Issue Links
- relates to
-
MDEV-19262 Server error message is unclear if event is created and event_scheduler = DISABLED
- Closed