Bug #31332 --event-scheduler option misbehaving
Submitted: 2 Oct 2007 8:43 Modified: 11 Dec 2007 20:06
Reporter: Domas Mituzas Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Stored Routines Severity:S3 (Non-critical)
Version:5.1 OS:Any
Assigned to: Damien Katz CPU Architecture:Any
Tags: events
Triage: D4 (Minor)

[2 Oct 2007 8:43] Domas Mituzas
Description:
offspring of Bug#31111 - Andrey suggested new bug has to be opened.

The current behavior of --event-scheduler without a value is mapped to --event-scheduler=off, which is counter-intuitive. 

--event-scheduler should actually be used to enable (so, equal to --event-scheduler=1) the events code.

How to repeat:
mysqld --event-scheduler

Suggested fix:
change value of --event-scheduler to actually enable rather than disable events
[19 Oct 2007 20:49] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/35951

ChangeSet@1.2638, 2007-10-19 16:49:02-04:00, dkatz@damien-katzs-computer.local +4 -0
  Bug #31332	--event-scheduler option misbehaving
  
  Changed the behaviour of the --event-scheduler option when used without an arguments. It now turns the option on.
[22 Oct 2007 19:17] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/36079

ChangeSet@1.2597, 2007-10-22 15:16:43-04:00, dkatz@damien-katzs-computer.local +4 -0
  Bug #31332 --event-scheduler option misbehaving
    
  Changed the behaviour of the --event-scheduler option when used without an arguments. It
  now turns the option on.
[12 Nov 2007 6:47] Konstantin Osipov
Approved by email.
[6 Dec 2007 10:00] Bugs System
Pushed into 5.1.23-rc
[6 Dec 2007 10:01] Bugs System
Pushed into 6.0.5-alpha
[11 Dec 2007 20:06] Paul Dubois
Noted in 5.1.23, 6.0.4 changelogs.

The --event-scheduler option without a value disabled the event
scheduler. Now it enables the event scheduler.