Merge lp:~laurynas-biveinis/percona-server/bug1407941-5.5 into lp:percona-server/5.5
Proposed by
Laurynas Biveinis
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Laurynas Biveinis | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 726 | ||||
Proposed branch: | lp:~laurynas-biveinis/percona-server/bug1407941-5.5 | ||||
Merge into: | lp:percona-server/5.5 | ||||
Diff against target: |
31 lines (+11/-4) 1 file modified
storage/innobase/srv/srv0start.c (+11/-4) |
||||
To merge this branch: | bzr merge lp:~laurynas-biveinis/percona-server/bug1407941-5.5 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Laurynas Biveinis (community) | Approve | ||
Review via email: mp+245715@code.launchpad.net |
Description of the change
Fix bug 1407941 (Thread id lost on srv/srv0start.cc).
The issue is a thread_ids array element index being reused on the call
to os_thread_create for the redo log tracker thread. Fix by allocating
a separate array item correctly. An alternative fix would be simply
passing NULL, but apparently accounting those thread ids is a good
idea on some of the platforms. Add a comment describing the thread_ids
array item allocation. Fix thread_ids and n array sizing.
http://
To post a comment you must log in.