Merge lp:~laurynas-biveinis/percona-server/bug1417953 into lp:percona-server/5.6
Proposed by
Laurynas Biveinis
Status: | Merged |
---|---|
Approved by: | Laurynas Biveinis |
Approved revision: | no longer in the source branch. |
Merged at revision: | 734 |
Proposed branch: | lp:~laurynas-biveinis/percona-server/bug1417953 |
Merge into: | lp:percona-server/5.6 |
Diff against target: |
191 lines (+14/-25) 8 files modified
storage/innobase/buf/buf0buf.cc (+2/-10) storage/innobase/buf/buf0flu.cc (+4/-2) storage/innobase/buf/buf0lru.cc (+1/-1) storage/innobase/buf/buf0rea.cc (+5/-3) storage/innobase/handler/ha_innodb.cc (+0/-1) storage/innobase/handler/i_s.cc (+0/-5) storage/innobase/include/buf0flu.h (+2/-2) storage/innobase/include/sync0sync.h (+0/-1) |
To merge this branch: | bzr merge lp:~laurynas-biveinis/percona-server/bug1417953 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Laurynas Biveinis (community) | Approve | ||
Review via email: mp+248530@code.launchpad.net |
Description of the change
Fix bug 1417953 (buf_read_
pointer without protection).
Fix by protecting the bpage dereference with page hash S latch.
At the same time fix some other issues discovered while porting to
5.7:
- remove unused buf_pool_mutex_key PFS instrumentation variable;
- remove zip mutex locking from buf_pool_watch_set and
buf_pool_
page hash X latch;
- fix some comments;
- fix some bool variables getting assigned TRUE instead of true.
http://
To post a comment you must log in.