~percona-core/percona-server/5.5

« back to all changes in this revision

Viewing changes to Percona-Server/storage/innobase/include/btr0types.h

  • Committer: Laurynas Biveinis
  • Date: 2013-09-06 13:24:59 UTC
  • mfrom: (558.8.3 5.5)
  • Revision ID: laurynas.biveinis@percona.com-20130906132459-jfaquw8dbwluzbsl
MergeĀ lp:~akopytov/percona-server/ahi-fixes-5.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
 
42
42
#ifndef UNIV_HOTBACKUP
43
43
 
44
 
/** @brief The latch protecting the adaptive search system
 
44
/** @brief The array of latches protecting the adaptive search partitions
45
45
 
46
 
This latch protects the
47
 
(1) hash index;
 
46
These latches protect the
 
47
(1) hash index from the corresponding AHI partition;
48
48
(2) columns of a record to which we have a pointer in the hash index;
49
49
 
50
 
but does NOT protect:
 
50
but do NOT protect:
51
51
 
52
52
(3) next record offset field in a record;
53
53
(4) next or previous records on the same page.
54
54
 
55
 
Bear in mind (3) and (4) when using the hash index.
 
55
Bear in mind (3) and (4) when using the hash indexes.
56
56
*/
57
 
//extern rw_lock_t*     btr_search_latch_temp;
58
57
 
59
 
extern rw_lock_t**      btr_search_latch_part;
 
58
extern rw_lock_t*       btr_search_latch_arr;
60
59
 
61
60
#endif /* UNIV_HOTBACKUP */
62
61