[MDEV-19262] Server error message is unclear if event is created and event_scheduler = DISABLED Created: 2019-04-16 Updated: 2022-10-19 Resolved: 2019-04-28 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Events |
| Affects Version/s: | 10.1.38, 10.2.23, 10.3.14 |
| Fix Version/s: | 10.2.24, 10.1.39, 10.3.15, 10.4.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | Manjot Singh (Inactive) | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||
| Description |
|
The server throws a somewhat nonsensical error message if an event is created when event_scheduler = DISABLED. For example:
The same nonsensical error message is thrown if SHOW EVENTS is executed or if information_schema.EVENTS is queried. For example:
The error message should say something like "Cannot proceed because event scheduler is DISABLED." |
| Comments |
| Comment by Daniel Lenski [ 2022-10-19 ] |
|
The patch for this issue was https://github.com/mariadb/server/commit/6c9a6bad4fe90c8bfcfe6dbf46835a39edc95c6f by wlad. It basically consisted of changing the error message to Cannot proceed, because event scheduler is disabled. This results in a highly misleading error message in cases when the event scheduler is not disabled, but other system tables’ state is (apparently) preventing it from working. |