~percona-core/percona-server/5.5

« back to all changes in this revision

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

  • Committer: jenkins at percona
  • Date: 2013-03-26 01:40:02 UTC
  • mfrom: (450.9.2 bug1131189)
  • Revision ID: jenkins@jenkins.percona.com-20130326014002-1m2hg8pt1b27chq2
MergeĀ lp:~akopytov/percona-server/bug1131189

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
#include "ut0byte.h"
33
33
#include "ut0lst.h"
34
34
#include "trx0trx.h"
 
35
#include "trx0sys.h"
35
36
#include "read0types.h"
36
37
 
37
38
/*********************************************************************//**
44
45
/*===============*/
45
46
        trx_id_t        cr_trx_id,      /*!< in: trx_id of creating
46
47
                                        transaction, or 0 used in purge */
47
 
        read_view_t*    view);          /*!< in: pre-allocated view array or
48
 
                                        NULL if a new one needs to be created */
 
48
        read_view_t*    view,           /*!< in: current read view or NULL if it
 
49
                                        doesn't exist yet */
 
50
        ibool           exclude_self);  /*!< in: TRUE, if cr_trx_id should be
 
51
                                        excluded from the resulting view */
 
52
 
49
53
/*********************************************************************//**
50
54
Makes a copy of the oldest existing read view, or opens a new. The view
51
55
must be closed with ..._close.
150
154
                                are strictly smaller (<) than this value.
151
155
                                In other words,
152
156
                                this is the "low water mark". */
153
 
        ulint           n_trx_ids;
 
157
        ulint           n_descr;
154
158
                                /*!< Number of cells in the trx_ids array */
155
 
        ulint           max_trx_ids;
 
159
        ulint           max_descr;
156
160
                                /*!< Maximum number of cells in the trx_ids
157
161
                                array */
158
 
        trx_id_t*       trx_ids;/*!< Additional trx ids which the read should
159
 
                                not see: typically, these are the active
 
162
        trx_id_t*       descriptors;
 
163
                                /*!< Array of trx descriptors which the read
 
164
                                should not see: typically, these are the active
160
165
                                transactions at the time when the read is
161
166
                                serialized, except the reading transaction
162
167
                                itself; the trx ids in this array are in a
163
168
                                descending order. These trx_ids should be
164
 
                                between the "low" and "high" water marks,
165
 
                                that is, up_limit_id and low_limit_id. */
 
169
                                between the "low" and "high" water marks, that
 
170
                                is, up_limit_id and low_limit_id. */
166
171
        trx_id_t        creator_trx_id;
167
172
                                /*!< trx id of creating transaction, or
168
173
                                0 used in purge */