Merge lp:~laurynas-biveinis/percona-server/bug1179978-5.5 into lp:percona-server/5.5
Status: | Merged |
---|---|
Approved by: | Alexey Kopytov |
Approved revision: | no longer in the source branch. |
Merged at revision: | 516 |
Proposed branch: | lp:~laurynas-biveinis/percona-server/bug1179978-5.5 |
Merge into: | lp:percona-server/5.5 |
Diff against target: |
188 lines (+45/-16) 5 files modified
Percona-Server/include/my_base.h (+1/-0) Percona-Server/sql/sql_select.cc (+1/-1) Percona-Server/storage/myisam/mi_close.c (+6/-3) Percona-Server/storage/myisam/mi_create.c (+8/-4) Percona-Server/storage/myisam/mi_open.c (+29/-8) |
To merge this branch: | bzr merge lp:~laurynas-biveinis/percona-server/bug1179978-5.5 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Review via email: mp+164198@code.launchpad.net |
Description of the change
Fix bug 1179978 / MySQL bug 65077 (internal temporary tables are
contended on THR_LOCK_myisam) by backporting revision 4195.3.1 from
lp:mysql-server/5.6.
5.6$ bzr log -r 4195.3.1
-------
revno: 4195.3.1
committer: Sergey Vojtovich <email address hidden>
branch nick: mysql-5.6-bug14000697
timestamp: Wed 2012-08-29 16:49:37 +0400
message:
BUG#14000697 - 65077: INTERNAL TEMPORARY TABLES ARE CONTENDED ON
MyISAM registers all open tables on myisam_open_list. This list is
protected by global mutex (THR_LOCK_myisam). Under concurrent
load it causes excessive THR_LOCK_myisam mutex contention.
Fixed by not registering internal temporary tables on
myisam_open_list, similarly to MEMORY engine.
http://