~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/read0read.h

  • Committer: Patrick Crews
  • Date: 2011-01-29 14:17:35 UTC
  • mto: (2126.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2127.
  • Revision ID: gleebix@gmail.com-20110129141735-3y2658vt5ur0a33o
Fixes to make test-dbqp

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (c) 1997, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (C) 1997, 2009, Innobase Oy. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
13
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15
 
Place, Suite 330, Boston, MA 02111-1307 USA
 
14
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
 
15
St, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
43
43
read_view_open_now(
44
44
/*===============*/
45
45
        trx_id_t        cr_trx_id,      /*!< in: trx_id of creating
46
 
                                        transaction, or ut_dulint_zero
47
 
                                        used in purge */
 
46
                                        transaction, or 0 used in purge */
48
47
        mem_heap_t*     heap);          /*!< in: memory heap from which
49
48
                                        allocated */
50
49
/*********************************************************************//**
56
55
read_view_oldest_copy_or_open_new(
57
56
/*==============================*/
58
57
        trx_id_t        cr_trx_id,      /*!< in: trx_id of creating
59
 
                                        transaction, or ut_dulint_zero
60
 
                                        used in purge */
 
58
                                        transaction, or 0 used in purge */
61
59
        mem_heap_t*     heap);          /*!< in: memory heap from which
62
60
                                        allocated */
63
61
/*********************************************************************//**
125
123
 
126
124
struct read_view_struct{
127
125
        ulint           type;   /*!< VIEW_NORMAL, VIEW_HIGH_GRANULARITY */
128
 
        undo_no_t       undo_no;/*!< ut_dulint_zero or if type is
 
126
        undo_no_t       undo_no;/*!< 0 or if type is
129
127
                                VIEW_HIGH_GRANULARITY
130
128
                                transaction undo_no when this high-granularity
131
129
                                consistent read view was created */
156
154
                                that is, up_limit_id and low_limit_id. */
157
155
        trx_id_t        creator_trx_id;
158
156
                                /*!< trx id of creating transaction, or
159
 
                                ut_dulint_zero used in purge */
 
157
                                0 used in purge */
160
158
        UT_LIST_NODE_T(read_view_t) view_list;
161
159
                                /*!< List of read views in trx_sys */
162
160
};