Missing mutex != NULL check in i_s_innodb_fill_buffer_pool()
Bug #1072573 reported by
Laurynas Biveinis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
Undecided
|
Unassigned | ||
5.1 |
Fix Released
|
High
|
Stewart Smith | ||
5.5 |
Fix Released
|
High
|
Stewart Smith | ||
5.6 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Taking this from the MP review as it was submitted too late:
My previous review comment was misleading, sorry about that: buf_page_
Related branches
lp:~stewart/percona-server/bug1072573-5.1
- Laurynas Biveinis (community): Approve
-
Diff: 13 lines (+2/-1)1 file modifiedPercona-Server/storage/innodb_plugin/handler/i_s.cc (+2/-1)
lp:~stewart/percona-server/bug1072573-5.5
- Laurynas Biveinis (community): Approve
-
Diff: 13 lines (+2/-1)1 file modifiedPercona-Server/storage/innobase/handler/i_s.cc (+2/-1)
And for 5.1:
i_s_innodb_ fill_buffer_ pool() still acquires the buffer pool mutex (and has a comment block above it).
Also, mutex_exit() in it should be conditional on block_mutex != NULL.