Bug #31649 | events.test fails: NULL "state" field of SHOW PROCESSLIST | ||
---|---|---|---|
Submitted: | 16 Oct 2007 19:15 | Modified: | 8 Nov 2007 14:40 |
Reporter: | Timothy Smith | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Tests | Severity: | S7 (Test Cases) |
Version: | 5.1, 5.2 | OS: | Any |
Assigned to: | Alexander Nozdrin | CPU Architecture: | Any |
Tags: | pbfail |
[16 Oct 2007 19:15]
Timothy Smith
[31 Oct 2007 9:02]
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/36731 ChangeSet@1.2602, 2007-10-31 12:04:19+03:00, anozdrin@station. +1 -0 Fix for a BUG#31649: events.test fails: NULL "state" field of SHOW PROCESSLIST. The problem was a race condition: if the Event Scheduler was not quick enough, the following scenario happens: - The Event Scheduler picks up the created event; - The event is executed; - event_scheduler_thread->proc_info is set to NULL; - The client issues SELECT FROM I_S. The fix is to wait for the Event Scheduler to reach 'Waiting for next activation' state.
[31 Oct 2007 12:53]
Alexander Nozdrin
Pushed into 5.1-runtime.
[7 Nov 2007 21:59]
Bugs System
Pushed into 6.0.4-alpha
[7 Nov 2007 22:01]
Bugs System
Pushed into 5.1.23-rc
[8 Nov 2007 14:40]
Paul DuBois
Test case change. No changelog entry needed.