Bug #44001 Usage of pin / pinbox for the lock free hash
Submitted: 31 Mar 2009 21:43 Modified: 14 Jan 2010 18:02
Reporter: Marc ALFF Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Performance Schema Severity:S3 (Non-critical)
Version:mysql-6.0-perf OS:Any
Assigned to: Marc ALFF CPU Architecture:Any

[31 Mar 2009 21:43] Marc ALFF
Description:
The calls to lf_hash_search / lf_hash_insert don't use the pins and pin box properly.

How to repeat:
Found by code review
[3 Apr 2009 17:11] Marc ALFF
Also,
- the file delete instrumentation should remove entries from the file hash,
- likewise for table drop and the table name hash
[6 Jun 2009 1:05] 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/75764

3165 Marc Alff	2009-06-05
      Bug#44001 Usage of pin / pinbox for the lock free hash
      
      Revised usage of LF_HASH in the performance schema code,
      per discussion during code review.
      modified:
        mysql-test/suite/perfschema/r/start_server32_off.result
        mysql-test/suite/perfschema/r/start_server32_on.result
        mysql-test/suite/perfschema/r/start_server64_off.result
        mysql-test/suite/perfschema/r/start_server64_on.result
        storage/perfschema/pfs.cc
        storage/perfschema/pfs_instr.cc
        storage/perfschema/pfs_instr.h
        storage/perfschema/pfs_instr_class.cc
        storage/perfschema/pfs_instr_class.h
        storage/perfschema/pfs_lock.h
        storage/perfschema/unittest/pfs_instr-t.cc
        storage/perfschema/unittest/pfs_instr_class-t.cc
[26 Jun 2009 9:14] Guilhem Bichot
Approved. I have informed Marc of a last question which needs a reply (regarding how infinite loops could happen).
[14 Jan 2010 10:00] Marc ALFF
Merged in:
- mysql-next-mr (Celosia / 5.5.99-m3)
- mysql-6.0-codebase (6.0.14)
[14 Jan 2010 18:02] Paul DuBois
Not in any released version. No changelog entry needed.